Class: Xberg::ConversionOptions

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConversionOptions

Returns a new instance of ConversionOptions.

Parameters:

  • heading_style: (HeadingStyle)
  • list_indent_type: (ListIndentType)
  • list_indent_width: (Integer)
  • bullets: (String)
  • strong_em_symbol: (String)
  • escape_asterisks: (Boolean)
  • escape_underscores: (Boolean)
  • escape_misc: (Boolean)
  • escape_ascii: (Boolean)
  • code_language: (String)
  • autolinks: (Boolean)
  • default_title: (Boolean)
  • br_in_tables: (Boolean)
  • compact_tables: (Boolean)
  • highlight_style: (HighlightStyle)
  • extract_metadata: (Boolean)
  • whitespace_mode: (WhitespaceMode)
  • strip_newlines: (Boolean)
  • wrap: (Boolean)
  • wrap_width: (Integer)
  • convert_as_inline: (Boolean)
  • sub_symbol: (String)
  • sup_symbol: (String)
  • newline_style: (NewlineStyle)
  • code_block_style: (CodeBlockStyle)
  • keep_inline_images_in: (Array[String])
  • preprocessing: (PreprocessingOptions)
  • encoding: (String)
  • debug: (Boolean)
  • strip_tags: (Array[String])
  • preserve_tags: (Array[String])
  • skip_images: (Boolean)
  • url_escape_style: (UrlEscapeStyle)
  • link_style: (LinkStyle)
  • max_image_size: (Integer)
  • capture_svg: (Boolean)
  • infer_dimensions: (Boolean)
  • max_depth: (Integer)
  • exclude_selectors: (Array[String])


2377
# File 'sig/types.rbs', line 2377

def initialize: (?heading_style: HeadingStyle, ?list_indent_type: ListIndentType, ?list_indent_width: Integer, ?bullets: String, ?strong_em_symbol: String, ?escape_asterisks: bool, ?escape_underscores: bool, ?escape_misc: bool, ?escape_ascii: bool, ?code_language: String, ?autolinks: bool, ?default_title: bool, ?br_in_tables: bool, ?compact_tables: bool, ?highlight_style: HighlightStyle, ?extract_metadata: bool, ?whitespace_mode: WhitespaceMode, ?strip_newlines: bool, ?wrap: bool, ?wrap_width: Integer, ?convert_as_inline: bool, ?sub_symbol: String, ?sup_symbol: String, ?newline_style: NewlineStyle, ?code_block_style: CodeBlockStyle, ?keep_inline_images_in: Array[String], ?preprocessing: PreprocessingOptions, ?encoding: String, ?debug: bool, ?strip_tags: Array[String], ?preserve_tags: Array[String], ?skip_images: bool, ?url_escape_style: UrlEscapeStyle, ?link_style: LinkStyle, ?max_image_size: Integer, ?capture_svg: bool, ?infer_dimensions: bool, ?max_depth: Integer, ?exclude_selectors: Array[String]) -> void

Instance Attribute Details

Returns the value of attribute autolinks.

Returns:

  • (Boolean, nil)


2347
2348
2349
# File 'sig/types.rbs', line 2347

def autolinks
  @autolinks
end

#br_in_tablesBoolean?

Returns the value of attribute br_in_tables.

Returns:

  • (Boolean, nil)


2349
2350
2351
# File 'sig/types.rbs', line 2349

def br_in_tables
  @br_in_tables
end

#bulletsString?

Returns the value of attribute bullets.

Returns:

  • (String, nil)


2340
2341
2342
# File 'sig/types.rbs', line 2340

def bullets
  @bullets
end

#capture_svgBoolean?

Returns the value of attribute capture_svg.

Returns:

  • (Boolean, nil)


2372
2373
2374
# File 'sig/types.rbs', line 2372

def capture_svg
  @capture_svg
end

#code_block_styleCodeBlockStyle?

Returns the value of attribute code_block_style.

Returns:



2361
2362
2363
# File 'sig/types.rbs', line 2361

def code_block_style
  @code_block_style
end

#code_languageString?

Returns the value of attribute code_language.

Returns:

  • (String, nil)


2346
2347
2348
# File 'sig/types.rbs', line 2346

def code_language
  @code_language
end

#compact_tablesBoolean?

Returns the value of attribute compact_tables.

Returns:

  • (Boolean, nil)


2350
2351
2352
# File 'sig/types.rbs', line 2350

def compact_tables
  @compact_tables
end

#convert_as_inlineBoolean?

Returns the value of attribute convert_as_inline.

Returns:

  • (Boolean, nil)


2357
2358
2359
# File 'sig/types.rbs', line 2357

def convert_as_inline
  @convert_as_inline
end

#debugBoolean?

Returns the value of attribute debug.

Returns:

  • (Boolean, nil)


2365
2366
2367
# File 'sig/types.rbs', line 2365

def debug
  @debug
end

#default_titleBoolean?

Returns the value of attribute default_title.

Returns:

  • (Boolean, nil)


2348
2349
2350
# File 'sig/types.rbs', line 2348

def default_title
  @default_title
end

#encodingString?

Returns the value of attribute encoding.

Returns:

  • (String, nil)


2364
2365
2366
# File 'sig/types.rbs', line 2364

def encoding
  @encoding
end

#escape_asciiBoolean?

Returns the value of attribute escape_ascii.

Returns:

  • (Boolean, nil)


2345
2346
2347
# File 'sig/types.rbs', line 2345

def escape_ascii
  @escape_ascii
end

#escape_asterisksBoolean?

Returns the value of attribute escape_asterisks.

Returns:

  • (Boolean, nil)


2342
2343
2344
# File 'sig/types.rbs', line 2342

def escape_asterisks
  @escape_asterisks
end

#escape_miscBoolean?

Returns the value of attribute escape_misc.

Returns:

  • (Boolean, nil)


2344
2345
2346
# File 'sig/types.rbs', line 2344

def escape_misc
  @escape_misc
end

#escape_underscoresBoolean?

Returns the value of attribute escape_underscores.

Returns:

  • (Boolean, nil)


2343
2344
2345
# File 'sig/types.rbs', line 2343

def escape_underscores
  @escape_underscores
end

#exclude_selectorsArray[String]?

Returns the value of attribute exclude_selectors.

Returns:

  • (Array[String], nil)


2375
2376
2377
# File 'sig/types.rbs', line 2375

def exclude_selectors
  @exclude_selectors
end

#extract_metadataBoolean?

Returns the value of attribute extract_metadata.

Returns:

  • (Boolean, nil)


2352
2353
2354
# File 'sig/types.rbs', line 2352

def 
  @extract_metadata
end

#heading_styleHeadingStyle?

Returns the value of attribute heading_style.

Returns:



2337
2338
2339
# File 'sig/types.rbs', line 2337

def heading_style
  @heading_style
end

#highlight_styleHighlightStyle?

Returns the value of attribute highlight_style.

Returns:



2351
2352
2353
# File 'sig/types.rbs', line 2351

def highlight_style
  @highlight_style
end

#infer_dimensionsBoolean?

Returns the value of attribute infer_dimensions.

Returns:

  • (Boolean, nil)


2373
2374
2375
# File 'sig/types.rbs', line 2373

def infer_dimensions
  @infer_dimensions
end

#keep_inline_images_inArray[String]?

Returns the value of attribute keep_inline_images_in.

Returns:

  • (Array[String], nil)


2362
2363
2364
# File 'sig/types.rbs', line 2362

def keep_inline_images_in
  @keep_inline_images_in
end

Returns the value of attribute link_style.

Returns:



2370
2371
2372
# File 'sig/types.rbs', line 2370

def link_style
  @link_style
end

#list_indent_typeListIndentType?

Returns the value of attribute list_indent_type.

Returns:



2338
2339
2340
# File 'sig/types.rbs', line 2338

def list_indent_type
  @list_indent_type
end

#list_indent_widthInteger?

Returns the value of attribute list_indent_width.

Returns:

  • (Integer, nil)


2339
2340
2341
# File 'sig/types.rbs', line 2339

def list_indent_width
  @list_indent_width
end

#max_depthInteger?

Returns the value of attribute max_depth.

Returns:

  • (Integer, nil)


2374
2375
2376
# File 'sig/types.rbs', line 2374

def max_depth
  @max_depth
end

#max_image_sizeInteger?

Returns the value of attribute max_image_size.

Returns:

  • (Integer, nil)


2371
2372
2373
# File 'sig/types.rbs', line 2371

def max_image_size
  @max_image_size
end

#newline_styleNewlineStyle?

Returns the value of attribute newline_style.

Returns:



2360
2361
2362
# File 'sig/types.rbs', line 2360

def newline_style
  @newline_style
end

#preprocessingPreprocessingOptions?

Returns the value of attribute preprocessing.

Returns:



2363
2364
2365
# File 'sig/types.rbs', line 2363

def preprocessing
  @preprocessing
end

#preserve_tagsArray[String]?

Returns the value of attribute preserve_tags.

Returns:

  • (Array[String], nil)


2367
2368
2369
# File 'sig/types.rbs', line 2367

def preserve_tags
  @preserve_tags
end

#skip_imagesBoolean?

Returns the value of attribute skip_images.

Returns:

  • (Boolean, nil)


2368
2369
2370
# File 'sig/types.rbs', line 2368

def skip_images
  @skip_images
end

#strip_newlinesBoolean?

Returns the value of attribute strip_newlines.

Returns:

  • (Boolean, nil)


2354
2355
2356
# File 'sig/types.rbs', line 2354

def strip_newlines
  @strip_newlines
end

#strip_tagsArray[String]?

Returns the value of attribute strip_tags.

Returns:

  • (Array[String], nil)


2366
2367
2368
# File 'sig/types.rbs', line 2366

def strip_tags
  @strip_tags
end

#strong_em_symbolString?

Returns the value of attribute strong_em_symbol.

Returns:

  • (String, nil)


2341
2342
2343
# File 'sig/types.rbs', line 2341

def strong_em_symbol
  @strong_em_symbol
end

#sub_symbolString?

Returns the value of attribute sub_symbol.

Returns:

  • (String, nil)


2358
2359
2360
# File 'sig/types.rbs', line 2358

def sub_symbol
  @sub_symbol
end

#sup_symbolString?

Returns the value of attribute sup_symbol.

Returns:

  • (String, nil)


2359
2360
2361
# File 'sig/types.rbs', line 2359

def sup_symbol
  @sup_symbol
end

#url_escape_styleUrlEscapeStyle?

Returns the value of attribute url_escape_style.

Returns:



2369
2370
2371
# File 'sig/types.rbs', line 2369

def url_escape_style
  @url_escape_style
end

#whitespace_modeWhitespaceMode?

Returns the value of attribute whitespace_mode.

Returns:



2353
2354
2355
# File 'sig/types.rbs', line 2353

def whitespace_mode
  @whitespace_mode
end

#wrapBoolean?

Returns the value of attribute wrap.

Returns:

  • (Boolean, nil)


2355
2356
2357
# File 'sig/types.rbs', line 2355

def wrap
  @wrap
end

#wrap_widthInteger?

Returns the value of attribute wrap_width.

Returns:

  • (Integer, nil)


2356
2357
2358
# File 'sig/types.rbs', line 2356

def wrap_width
  @wrap_width
end