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])


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

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)


2390
2391
2392
# File 'sig/types.rbs', line 2390

def autolinks
  @autolinks
end

#br_in_tablesBoolean?

Returns the value of attribute br_in_tables.

Returns:

  • (Boolean, nil)


2392
2393
2394
# File 'sig/types.rbs', line 2392

def br_in_tables
  @br_in_tables
end

#bulletsString?

Returns the value of attribute bullets.

Returns:

  • (String, nil)


2383
2384
2385
# File 'sig/types.rbs', line 2383

def bullets
  @bullets
end

#capture_svgBoolean?

Returns the value of attribute capture_svg.

Returns:

  • (Boolean, nil)


2415
2416
2417
# File 'sig/types.rbs', line 2415

def capture_svg
  @capture_svg
end

#code_block_styleCodeBlockStyle?

Returns the value of attribute code_block_style.

Returns:



2404
2405
2406
# File 'sig/types.rbs', line 2404

def code_block_style
  @code_block_style
end

#code_languageString?

Returns the value of attribute code_language.

Returns:

  • (String, nil)


2389
2390
2391
# File 'sig/types.rbs', line 2389

def code_language
  @code_language
end

#compact_tablesBoolean?

Returns the value of attribute compact_tables.

Returns:

  • (Boolean, nil)


2393
2394
2395
# File 'sig/types.rbs', line 2393

def compact_tables
  @compact_tables
end

#convert_as_inlineBoolean?

Returns the value of attribute convert_as_inline.

Returns:

  • (Boolean, nil)


2400
2401
2402
# File 'sig/types.rbs', line 2400

def convert_as_inline
  @convert_as_inline
end

#debugBoolean?

Returns the value of attribute debug.

Returns:

  • (Boolean, nil)


2408
2409
2410
# File 'sig/types.rbs', line 2408

def debug
  @debug
end

#default_titleBoolean?

Returns the value of attribute default_title.

Returns:

  • (Boolean, nil)


2391
2392
2393
# File 'sig/types.rbs', line 2391

def default_title
  @default_title
end

#encodingString?

Returns the value of attribute encoding.

Returns:

  • (String, nil)


2407
2408
2409
# File 'sig/types.rbs', line 2407

def encoding
  @encoding
end

#escape_asciiBoolean?

Returns the value of attribute escape_ascii.

Returns:

  • (Boolean, nil)


2388
2389
2390
# File 'sig/types.rbs', line 2388

def escape_ascii
  @escape_ascii
end

#escape_asterisksBoolean?

Returns the value of attribute escape_asterisks.

Returns:

  • (Boolean, nil)


2385
2386
2387
# File 'sig/types.rbs', line 2385

def escape_asterisks
  @escape_asterisks
end

#escape_miscBoolean?

Returns the value of attribute escape_misc.

Returns:

  • (Boolean, nil)


2387
2388
2389
# File 'sig/types.rbs', line 2387

def escape_misc
  @escape_misc
end

#escape_underscoresBoolean?

Returns the value of attribute escape_underscores.

Returns:

  • (Boolean, nil)


2386
2387
2388
# File 'sig/types.rbs', line 2386

def escape_underscores
  @escape_underscores
end

#exclude_selectorsArray[String]?

Returns the value of attribute exclude_selectors.

Returns:

  • (Array[String], nil)


2418
2419
2420
# File 'sig/types.rbs', line 2418

def exclude_selectors
  @exclude_selectors
end

#extract_metadataBoolean?

Returns the value of attribute extract_metadata.

Returns:

  • (Boolean, nil)


2395
2396
2397
# File 'sig/types.rbs', line 2395

def 
  @extract_metadata
end

#heading_styleHeadingStyle?

Returns the value of attribute heading_style.

Returns:



2380
2381
2382
# File 'sig/types.rbs', line 2380

def heading_style
  @heading_style
end

#highlight_styleHighlightStyle?

Returns the value of attribute highlight_style.

Returns:



2394
2395
2396
# File 'sig/types.rbs', line 2394

def highlight_style
  @highlight_style
end

#infer_dimensionsBoolean?

Returns the value of attribute infer_dimensions.

Returns:

  • (Boolean, nil)


2416
2417
2418
# File 'sig/types.rbs', line 2416

def infer_dimensions
  @infer_dimensions
end

#keep_inline_images_inArray[String]?

Returns the value of attribute keep_inline_images_in.

Returns:

  • (Array[String], nil)


2405
2406
2407
# File 'sig/types.rbs', line 2405

def keep_inline_images_in
  @keep_inline_images_in
end

Returns the value of attribute link_style.

Returns:



2413
2414
2415
# File 'sig/types.rbs', line 2413

def link_style
  @link_style
end

#list_indent_typeListIndentType?

Returns the value of attribute list_indent_type.

Returns:



2381
2382
2383
# File 'sig/types.rbs', line 2381

def list_indent_type
  @list_indent_type
end

#list_indent_widthInteger?

Returns the value of attribute list_indent_width.

Returns:

  • (Integer, nil)


2382
2383
2384
# File 'sig/types.rbs', line 2382

def list_indent_width
  @list_indent_width
end

#max_depthInteger?

Returns the value of attribute max_depth.

Returns:

  • (Integer, nil)


2417
2418
2419
# File 'sig/types.rbs', line 2417

def max_depth
  @max_depth
end

#max_image_sizeInteger?

Returns the value of attribute max_image_size.

Returns:

  • (Integer, nil)


2414
2415
2416
# File 'sig/types.rbs', line 2414

def max_image_size
  @max_image_size
end

#newline_styleNewlineStyle?

Returns the value of attribute newline_style.

Returns:



2403
2404
2405
# File 'sig/types.rbs', line 2403

def newline_style
  @newline_style
end

#preprocessingPreprocessingOptions?

Returns the value of attribute preprocessing.

Returns:



2406
2407
2408
# File 'sig/types.rbs', line 2406

def preprocessing
  @preprocessing
end

#preserve_tagsArray[String]?

Returns the value of attribute preserve_tags.

Returns:

  • (Array[String], nil)


2410
2411
2412
# File 'sig/types.rbs', line 2410

def preserve_tags
  @preserve_tags
end

#skip_imagesBoolean?

Returns the value of attribute skip_images.

Returns:

  • (Boolean, nil)


2411
2412
2413
# File 'sig/types.rbs', line 2411

def skip_images
  @skip_images
end

#strip_newlinesBoolean?

Returns the value of attribute strip_newlines.

Returns:

  • (Boolean, nil)


2397
2398
2399
# File 'sig/types.rbs', line 2397

def strip_newlines
  @strip_newlines
end

#strip_tagsArray[String]?

Returns the value of attribute strip_tags.

Returns:

  • (Array[String], nil)


2409
2410
2411
# File 'sig/types.rbs', line 2409

def strip_tags
  @strip_tags
end

#strong_em_symbolString?

Returns the value of attribute strong_em_symbol.

Returns:

  • (String, nil)


2384
2385
2386
# File 'sig/types.rbs', line 2384

def strong_em_symbol
  @strong_em_symbol
end

#sub_symbolString?

Returns the value of attribute sub_symbol.

Returns:

  • (String, nil)


2401
2402
2403
# File 'sig/types.rbs', line 2401

def sub_symbol
  @sub_symbol
end

#sup_symbolString?

Returns the value of attribute sup_symbol.

Returns:

  • (String, nil)


2402
2403
2404
# File 'sig/types.rbs', line 2402

def sup_symbol
  @sup_symbol
end

#url_escape_styleUrlEscapeStyle?

Returns the value of attribute url_escape_style.

Returns:



2412
2413
2414
# File 'sig/types.rbs', line 2412

def url_escape_style
  @url_escape_style
end

#whitespace_modeWhitespaceMode?

Returns the value of attribute whitespace_mode.

Returns:



2396
2397
2398
# File 'sig/types.rbs', line 2396

def whitespace_mode
  @whitespace_mode
end

#wrapBoolean?

Returns the value of attribute wrap.

Returns:

  • (Boolean, nil)


2398
2399
2400
# File 'sig/types.rbs', line 2398

def wrap
  @wrap
end

#wrap_widthInteger?

Returns the value of attribute wrap_width.

Returns:

  • (Integer, nil)


2399
2400
2401
# File 'sig/types.rbs', line 2399

def wrap_width
  @wrap_width
end