Class: HtmlToMarkdown::ConversionOptions
- Inherits:
-
Object
- Object
- HtmlToMarkdown::ConversionOptions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#autolinks ⇒ Boolean
readonly
Returns the value of attribute autolinks.
-
#base_url ⇒ String?
readonly
Returns the value of attribute base_url.
-
#br_in_tables ⇒ Boolean
readonly
Returns the value of attribute br_in_tables.
-
#bullets ⇒ String
readonly
Returns the value of attribute bullets.
-
#capture_svg ⇒ Boolean
readonly
Returns the value of attribute capture_svg.
-
#code_block_style ⇒ enum_CodeBlockStyle
readonly
Returns the value of attribute code_block_style.
-
#code_language ⇒ String
readonly
Returns the value of attribute code_language.
-
#compact_tables ⇒ Boolean
readonly
Returns the value of attribute compact_tables.
-
#convert_as_inline ⇒ Boolean
readonly
Returns the value of attribute convert_as_inline.
-
#debug ⇒ Boolean
readonly
Returns the value of attribute debug.
-
#default_title ⇒ Boolean
readonly
Returns the value of attribute default_title.
-
#encoding ⇒ String
readonly
Returns the value of attribute encoding.
-
#escape_ascii ⇒ Boolean
readonly
Returns the value of attribute escape_ascii.
-
#escape_asterisks ⇒ Boolean
readonly
Returns the value of attribute escape_asterisks.
-
#escape_misc ⇒ Boolean
readonly
Returns the value of attribute escape_misc.
-
#escape_underscores ⇒ Boolean
readonly
Returns the value of attribute escape_underscores.
-
#exclude_selectors ⇒ Array[String]
readonly
Returns the value of attribute exclude_selectors.
-
#extract_images ⇒ Boolean
readonly
Returns the value of attribute extract_images.
-
#extract_metadata ⇒ Boolean
readonly
Returns the value of attribute extract_metadata.
-
#heading_style ⇒ enum_HeadingStyle
readonly
Returns the value of attribute heading_style.
-
#highlight_style ⇒ enum_HighlightStyle
readonly
Returns the value of attribute highlight_style.
-
#include_document_structure ⇒ Boolean
readonly
Returns the value of attribute include_document_structure.
-
#infer_dimensions ⇒ Boolean
readonly
Returns the value of attribute infer_dimensions.
-
#keep_inline_images_in ⇒ Array[String]
readonly
Returns the value of attribute keep_inline_images_in.
-
#link_style ⇒ enum_LinkStyle
readonly
Returns the value of attribute link_style.
-
#list_indent_type ⇒ enum_ListIndentType
readonly
Returns the value of attribute list_indent_type.
-
#list_indent_width ⇒ Integer
readonly
Returns the value of attribute list_indent_width.
-
#max_depth ⇒ Integer?
readonly
Returns the value of attribute max_depth.
-
#max_image_size ⇒ Integer
readonly
Returns the value of attribute max_image_size.
-
#newline_style ⇒ enum_NewlineStyle
readonly
Returns the value of attribute newline_style.
-
#output_format ⇒ enum_OutputFormat
readonly
Returns the value of attribute output_format.
-
#preprocessing ⇒ PreprocessingOptions
readonly
Returns the value of attribute preprocessing.
-
#preserve_tags ⇒ Array[String]
readonly
Returns the value of attribute preserve_tags.
-
#skip_images ⇒ Boolean
readonly
Returns the value of attribute skip_images.
-
#strip_newlines ⇒ Boolean
readonly
Returns the value of attribute strip_newlines.
-
#strip_tags ⇒ Array[String]
readonly
Returns the value of attribute strip_tags.
-
#strong_em_symbol ⇒ String
readonly
Returns the value of attribute strong_em_symbol.
-
#sub_symbol ⇒ String
readonly
Returns the value of attribute sub_symbol.
-
#sup_symbol ⇒ String
readonly
Returns the value of attribute sup_symbol.
-
#tier_strategy ⇒ enum_TierStrategy
readonly
Returns the value of attribute tier_strategy.
-
#url_escape_style ⇒ enum_UrlEscapeStyle
readonly
Returns the value of attribute url_escape_style.
-
#visitor ⇒ VisitorHandle?
readonly
Returns the value of attribute visitor.
-
#whitespace_mode ⇒ enum_WhitespaceMode
readonly
Returns the value of attribute whitespace_mode.
-
#wrap ⇒ Boolean
readonly
Returns the value of attribute wrap.
-
#wrap_width ⇒ Integer
readonly
Returns the value of attribute wrap_width.
Instance Method Summary collapse
-
#initialize ⇒ ConversionOptions
constructor
A new instance of ConversionOptions.
Constructor Details
#initialize ⇒ ConversionOptions
Returns a new instance of ConversionOptions.
59 |
# File 'sig/types.rbs', line 59
def initialize: (?heading_style: enum_HeadingStyle, ?list_indent_type: enum_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: enum_HighlightStyle, ?extract_metadata: bool, ?whitespace_mode: enum_WhitespaceMode, ?strip_newlines: bool, ?wrap: bool, ?wrap_width: Integer, ?convert_as_inline: bool, ?sub_symbol: String, ?sup_symbol: String, ?newline_style: enum_NewlineStyle, ?code_block_style: enum_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: enum_UrlEscapeStyle, ?link_style: enum_LinkStyle, ?output_format: enum_OutputFormat, ?include_document_structure: bool, ?extract_images: bool, ?max_image_size: Integer, ?capture_svg: bool, ?infer_dimensions: bool, ?max_depth: Integer, ?exclude_selectors: Array[String], ?tier_strategy: enum_TierStrategy, ?base_url: String, ?visitor: VisitorHandle) -> void
|
Instance Attribute Details
#autolinks ⇒ Boolean (readonly)
Returns the value of attribute autolinks.
23 24 25 |
# File 'sig/types.rbs', line 23 def autolinks @autolinks end |
#base_url ⇒ String? (readonly)
Returns the value of attribute base_url.
56 57 58 |
# File 'sig/types.rbs', line 56 def base_url @base_url end |
#br_in_tables ⇒ Boolean (readonly)
Returns the value of attribute br_in_tables.
25 26 27 |
# File 'sig/types.rbs', line 25 def br_in_tables @br_in_tables end |
#bullets ⇒ String (readonly)
Returns the value of attribute bullets.
16 17 18 |
# File 'sig/types.rbs', line 16 def bullets @bullets end |
#capture_svg ⇒ Boolean (readonly)
Returns the value of attribute capture_svg.
51 52 53 |
# File 'sig/types.rbs', line 51 def capture_svg @capture_svg end |
#code_block_style ⇒ enum_CodeBlockStyle (readonly)
Returns the value of attribute code_block_style.
37 38 39 |
# File 'sig/types.rbs', line 37 def code_block_style @code_block_style end |
#code_language ⇒ String (readonly)
Returns the value of attribute code_language.
22 23 24 |
# File 'sig/types.rbs', line 22 def code_language @code_language end |
#compact_tables ⇒ Boolean (readonly)
Returns the value of attribute compact_tables.
26 27 28 |
# File 'sig/types.rbs', line 26 def compact_tables @compact_tables end |
#convert_as_inline ⇒ Boolean (readonly)
Returns the value of attribute convert_as_inline.
33 34 35 |
# File 'sig/types.rbs', line 33 def convert_as_inline @convert_as_inline end |
#debug ⇒ Boolean (readonly)
Returns the value of attribute debug.
41 42 43 |
# File 'sig/types.rbs', line 41 def debug @debug end |
#default_title ⇒ Boolean (readonly)
Returns the value of attribute default_title.
24 25 26 |
# File 'sig/types.rbs', line 24 def default_title @default_title end |
#encoding ⇒ String (readonly)
Returns the value of attribute encoding.
40 41 42 |
# File 'sig/types.rbs', line 40 def encoding @encoding end |
#escape_ascii ⇒ Boolean (readonly)
Returns the value of attribute escape_ascii.
21 22 23 |
# File 'sig/types.rbs', line 21 def escape_ascii @escape_ascii end |
#escape_asterisks ⇒ Boolean (readonly)
Returns the value of attribute escape_asterisks.
18 19 20 |
# File 'sig/types.rbs', line 18 def escape_asterisks @escape_asterisks end |
#escape_misc ⇒ Boolean (readonly)
Returns the value of attribute escape_misc.
20 21 22 |
# File 'sig/types.rbs', line 20 def escape_misc @escape_misc end |
#escape_underscores ⇒ Boolean (readonly)
Returns the value of attribute escape_underscores.
19 20 21 |
# File 'sig/types.rbs', line 19 def escape_underscores @escape_underscores end |
#exclude_selectors ⇒ Array[String] (readonly)
Returns the value of attribute exclude_selectors.
54 55 56 |
# File 'sig/types.rbs', line 54 def exclude_selectors @exclude_selectors end |
#extract_images ⇒ Boolean (readonly)
Returns the value of attribute extract_images.
49 50 51 |
# File 'sig/types.rbs', line 49 def extract_images @extract_images end |
#extract_metadata ⇒ Boolean (readonly)
Returns the value of attribute extract_metadata.
28 29 30 |
# File 'sig/types.rbs', line 28 def @extract_metadata end |
#heading_style ⇒ enum_HeadingStyle (readonly)
Returns the value of attribute heading_style.
13 14 15 |
# File 'sig/types.rbs', line 13 def heading_style @heading_style end |
#highlight_style ⇒ enum_HighlightStyle (readonly)
Returns the value of attribute highlight_style.
27 28 29 |
# File 'sig/types.rbs', line 27 def highlight_style @highlight_style end |
#include_document_structure ⇒ Boolean (readonly)
Returns the value of attribute include_document_structure.
48 49 50 |
# File 'sig/types.rbs', line 48 def include_document_structure @include_document_structure end |
#infer_dimensions ⇒ Boolean (readonly)
Returns the value of attribute infer_dimensions.
52 53 54 |
# File 'sig/types.rbs', line 52 def infer_dimensions @infer_dimensions end |
#keep_inline_images_in ⇒ Array[String] (readonly)
Returns the value of attribute keep_inline_images_in.
38 39 40 |
# File 'sig/types.rbs', line 38 def keep_inline_images_in @keep_inline_images_in end |
#link_style ⇒ enum_LinkStyle (readonly)
Returns the value of attribute link_style.
46 47 48 |
# File 'sig/types.rbs', line 46 def link_style @link_style end |
#list_indent_type ⇒ enum_ListIndentType (readonly)
Returns the value of attribute list_indent_type.
14 15 16 |
# File 'sig/types.rbs', line 14 def list_indent_type @list_indent_type end |
#list_indent_width ⇒ Integer (readonly)
Returns the value of attribute list_indent_width.
15 16 17 |
# File 'sig/types.rbs', line 15 def list_indent_width @list_indent_width end |
#max_depth ⇒ Integer? (readonly)
Returns the value of attribute max_depth.
53 54 55 |
# File 'sig/types.rbs', line 53 def max_depth @max_depth end |
#max_image_size ⇒ Integer (readonly)
Returns the value of attribute max_image_size.
50 51 52 |
# File 'sig/types.rbs', line 50 def max_image_size @max_image_size end |
#newline_style ⇒ enum_NewlineStyle (readonly)
Returns the value of attribute newline_style.
36 37 38 |
# File 'sig/types.rbs', line 36 def newline_style @newline_style end |
#output_format ⇒ enum_OutputFormat (readonly)
Returns the value of attribute output_format.
47 48 49 |
# File 'sig/types.rbs', line 47 def output_format @output_format end |
#preprocessing ⇒ PreprocessingOptions (readonly)
Returns the value of attribute preprocessing.
39 40 41 |
# File 'sig/types.rbs', line 39 def preprocessing @preprocessing end |
#preserve_tags ⇒ Array[String] (readonly)
Returns the value of attribute preserve_tags.
43 44 45 |
# File 'sig/types.rbs', line 43 def @preserve_tags end |
#skip_images ⇒ Boolean (readonly)
Returns the value of attribute skip_images.
44 45 46 |
# File 'sig/types.rbs', line 44 def skip_images @skip_images end |
#strip_newlines ⇒ Boolean (readonly)
Returns the value of attribute strip_newlines.
30 31 32 |
# File 'sig/types.rbs', line 30 def strip_newlines @strip_newlines end |
#strip_tags ⇒ Array[String] (readonly)
Returns the value of attribute strip_tags.
42 43 44 |
# File 'sig/types.rbs', line 42 def @strip_tags end |
#strong_em_symbol ⇒ String (readonly)
Returns the value of attribute strong_em_symbol.
17 18 19 |
# File 'sig/types.rbs', line 17 def strong_em_symbol @strong_em_symbol end |
#sub_symbol ⇒ String (readonly)
Returns the value of attribute sub_symbol.
34 35 36 |
# File 'sig/types.rbs', line 34 def sub_symbol @sub_symbol end |
#sup_symbol ⇒ String (readonly)
Returns the value of attribute sup_symbol.
35 36 37 |
# File 'sig/types.rbs', line 35 def sup_symbol @sup_symbol end |
#tier_strategy ⇒ enum_TierStrategy (readonly)
Returns the value of attribute tier_strategy.
55 56 57 |
# File 'sig/types.rbs', line 55 def tier_strategy @tier_strategy end |
#url_escape_style ⇒ enum_UrlEscapeStyle (readonly)
Returns the value of attribute url_escape_style.
45 46 47 |
# File 'sig/types.rbs', line 45 def url_escape_style @url_escape_style end |
#visitor ⇒ VisitorHandle? (readonly)
Returns the value of attribute visitor.
57 58 59 |
# File 'sig/types.rbs', line 57 def visitor @visitor end |
#whitespace_mode ⇒ enum_WhitespaceMode (readonly)
Returns the value of attribute whitespace_mode.
29 30 31 |
# File 'sig/types.rbs', line 29 def whitespace_mode @whitespace_mode end |
#wrap ⇒ Boolean (readonly)
Returns the value of attribute wrap.
31 32 33 |
# File 'sig/types.rbs', line 31 def wrap @wrap end |
#wrap_width ⇒ Integer (readonly)
Returns the value of attribute wrap_width.
32 33 34 |
# File 'sig/types.rbs', line 32 def wrap_width @wrap_width end |