Class: HtmlToMarkdown::ConversionOptionsUpdate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ ConversionOptionsUpdate

Returns a new instance of ConversionOptionsUpdate.

Parameters:

  • heading_style: (enum_HeadingStyle)
  • list_indent_type: (enum_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: (enum_HighlightStyle)
  • extract_metadata: (Boolean)
  • whitespace_mode: (enum_WhitespaceMode)
  • strip_newlines: (Boolean)
  • wrap: (Boolean)
  • wrap_width: (Integer)
  • convert_as_inline: (Boolean)
  • sub_symbol: (String)
  • sup_symbol: (String)
  • newline_style: (enum_NewlineStyle)
  • code_block_style: (enum_CodeBlockStyle)
  • keep_inline_images_in: (Array[String])
  • preprocessing: (PreprocessingOptionsUpdate)
  • encoding: (String)
  • debug: (Boolean)
  • strip_tags: (Array[String])
  • preserve_tags: (Array[String])
  • skip_images: (Boolean)
  • url_escape_style: (enum_UrlEscapeStyle)
  • link_style: (enum_LinkStyle)
  • output_format: (enum_OutputFormat)
  • include_document_structure: (Boolean)
  • extract_images: (Boolean)
  • max_image_size: (Integer)
  • capture_svg: (Boolean)
  • infer_dimensions: (Boolean)
  • max_depth: (Integer, nil)
  • exclude_selectors: (Array[String])
  • tier_strategy: (enum_TierStrategy)
  • base_url: (String, nil)
  • visitor: (VisitorHandle)


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

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: PreprocessingOptionsUpdate, ?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

Returns the value of attribute autolinks.

Returns:

  • (Boolean, nil)


73
74
75
# File 'sig/types.rbs', line 73

def autolinks
  @autolinks
end

#base_url ⇒ String? (readonly)

Returns the value of attribute base_url.

Returns:

  • (String, nil)


106
107
108
# File 'sig/types.rbs', line 106

def base_url
  @base_url
end

#br_in_tables ⇒ Boolean? (readonly)

Returns the value of attribute br_in_tables.

Returns:

  • (Boolean, nil)


75
76
77
# File 'sig/types.rbs', line 75

def br_in_tables
  @br_in_tables
end

#bullets ⇒ String? (readonly)

Returns the value of attribute bullets.

Returns:

  • (String, nil)


66
67
68
# File 'sig/types.rbs', line 66

def bullets
  @bullets
end

#capture_svg ⇒ Boolean? (readonly)

Returns the value of attribute capture_svg.

Returns:

  • (Boolean, nil)


101
102
103
# File 'sig/types.rbs', line 101

def capture_svg
  @capture_svg
end

#code_block_style ⇒ enum_CodeBlockStyle? (readonly)

Returns the value of attribute code_block_style.

Returns:

  • (enum_CodeBlockStyle, nil)


87
88
89
# File 'sig/types.rbs', line 87

def code_block_style
  @code_block_style
end

#code_language ⇒ String? (readonly)

Returns the value of attribute code_language.

Returns:

  • (String, nil)


72
73
74
# File 'sig/types.rbs', line 72

def code_language
  @code_language
end

#compact_tables ⇒ Boolean? (readonly)

Returns the value of attribute compact_tables.

Returns:

  • (Boolean, nil)


76
77
78
# File 'sig/types.rbs', line 76

def compact_tables
  @compact_tables
end

#convert_as_inline ⇒ Boolean? (readonly)

Returns the value of attribute convert_as_inline.

Returns:

  • (Boolean, nil)


83
84
85
# File 'sig/types.rbs', line 83

def convert_as_inline
  @convert_as_inline
end

#debug ⇒ Boolean? (readonly)

Returns the value of attribute debug.

Returns:

  • (Boolean, nil)


91
92
93
# File 'sig/types.rbs', line 91

def debug
  @debug
end

#default_title ⇒ Boolean? (readonly)

Returns the value of attribute default_title.

Returns:

  • (Boolean, nil)


74
75
76
# File 'sig/types.rbs', line 74

def default_title
  @default_title
end

#encoding ⇒ String? (readonly)

Returns the value of attribute encoding.

Returns:

  • (String, nil)


90
91
92
# File 'sig/types.rbs', line 90

def encoding
  @encoding
end

#escape_ascii ⇒ Boolean? (readonly)

Returns the value of attribute escape_ascii.

Returns:

  • (Boolean, nil)


71
72
73
# File 'sig/types.rbs', line 71

def escape_ascii
  @escape_ascii
end

#escape_asterisks ⇒ Boolean? (readonly)

Returns the value of attribute escape_asterisks.

Returns:

  • (Boolean, nil)


68
69
70
# File 'sig/types.rbs', line 68

def escape_asterisks
  @escape_asterisks
end

#escape_misc ⇒ Boolean? (readonly)

Returns the value of attribute escape_misc.

Returns:

  • (Boolean, nil)


70
71
72
# File 'sig/types.rbs', line 70

def escape_misc
  @escape_misc
end

#escape_underscores ⇒ Boolean? (readonly)

Returns the value of attribute escape_underscores.

Returns:

  • (Boolean, nil)


69
70
71
# File 'sig/types.rbs', line 69

def escape_underscores
  @escape_underscores
end

#exclude_selectors ⇒ Array[String]? (readonly)

Returns the value of attribute exclude_selectors.

Returns:

  • (Array[String], nil)


104
105
106
# File 'sig/types.rbs', line 104

def exclude_selectors
  @exclude_selectors
end

#extract_images ⇒ Boolean? (readonly)

Returns the value of attribute extract_images.

Returns:

  • (Boolean, nil)


99
100
101
# File 'sig/types.rbs', line 99

def extract_images
  @extract_images
end

#extract_metadata ⇒ Boolean? (readonly)

Returns the value of attribute extract_metadata.

Returns:

  • (Boolean, nil)


78
79
80
# File 'sig/types.rbs', line 78

def 
  @extract_metadata
end

#heading_style ⇒ enum_HeadingStyle? (readonly)

Returns the value of attribute heading_style.

Returns:

  • (enum_HeadingStyle, nil)


63
64
65
# File 'sig/types.rbs', line 63

def heading_style
  @heading_style
end

#highlight_style ⇒ enum_HighlightStyle? (readonly)

Returns the value of attribute highlight_style.

Returns:

  • (enum_HighlightStyle, nil)


77
78
79
# File 'sig/types.rbs', line 77

def highlight_style
  @highlight_style
end

#include_document_structure ⇒ Boolean? (readonly)

Returns the value of attribute include_document_structure.

Returns:

  • (Boolean, nil)


98
99
100
# File 'sig/types.rbs', line 98

def include_document_structure
  @include_document_structure
end

#infer_dimensions ⇒ Boolean? (readonly)

Returns the value of attribute infer_dimensions.

Returns:

  • (Boolean, nil)


102
103
104
# File 'sig/types.rbs', line 102

def infer_dimensions
  @infer_dimensions
end

#keep_inline_images_in ⇒ Array[String]? (readonly)

Returns the value of attribute keep_inline_images_in.

Returns:

  • (Array[String], nil)


88
89
90
# File 'sig/types.rbs', line 88

def keep_inline_images_in
  @keep_inline_images_in
end

Returns the value of attribute link_style.

Returns:

  • (enum_LinkStyle, nil)


96
97
98
# File 'sig/types.rbs', line 96

def link_style
  @link_style
end

#list_indent_type ⇒ enum_ListIndentType? (readonly)

Returns the value of attribute list_indent_type.

Returns:

  • (enum_ListIndentType, nil)


64
65
66
# File 'sig/types.rbs', line 64

def list_indent_type
  @list_indent_type
end

#list_indent_width ⇒ Integer? (readonly)

Returns the value of attribute list_indent_width.

Returns:

  • (Integer, nil)


65
66
67
# File 'sig/types.rbs', line 65

def list_indent_width
  @list_indent_width
end

#max_depth ⇒ Integer? (readonly)

Returns the value of attribute max_depth.

Returns:

  • (Integer, nil)


103
104
105
# File 'sig/types.rbs', line 103

def max_depth
  @max_depth
end

#max_image_size ⇒ Integer? (readonly)

Returns the value of attribute max_image_size.

Returns:

  • (Integer, nil)


100
101
102
# File 'sig/types.rbs', line 100

def max_image_size
  @max_image_size
end

#newline_style ⇒ enum_NewlineStyle? (readonly)

Returns the value of attribute newline_style.

Returns:

  • (enum_NewlineStyle, nil)


86
87
88
# File 'sig/types.rbs', line 86

def newline_style
  @newline_style
end

#output_format ⇒ enum_OutputFormat? (readonly)

Returns the value of attribute output_format.

Returns:

  • (enum_OutputFormat, nil)


97
98
99
# File 'sig/types.rbs', line 97

def output_format
  @output_format
end

#preprocessing ⇒ PreprocessingOptionsUpdate? (readonly)

Returns the value of attribute preprocessing.

Returns:



89
90
91
# File 'sig/types.rbs', line 89

def preprocessing
  @preprocessing
end

#preserve_tags ⇒ Array[String]? (readonly)

Returns the value of attribute preserve_tags.

Returns:

  • (Array[String], nil)


93
94
95
# File 'sig/types.rbs', line 93

def preserve_tags
  @preserve_tags
end

#skip_images ⇒ Boolean? (readonly)

Returns the value of attribute skip_images.

Returns:

  • (Boolean, nil)


94
95
96
# File 'sig/types.rbs', line 94

def skip_images
  @skip_images
end

#strip_newlines ⇒ Boolean? (readonly)

Returns the value of attribute strip_newlines.

Returns:

  • (Boolean, nil)


80
81
82
# File 'sig/types.rbs', line 80

def strip_newlines
  @strip_newlines
end

#strip_tags ⇒ Array[String]? (readonly)

Returns the value of attribute strip_tags.

Returns:

  • (Array[String], nil)


92
93
94
# File 'sig/types.rbs', line 92

def strip_tags
  @strip_tags
end

#strong_em_symbol ⇒ String? (readonly)

Returns the value of attribute strong_em_symbol.

Returns:

  • (String, nil)


67
68
69
# File 'sig/types.rbs', line 67

def strong_em_symbol
  @strong_em_symbol
end

#sub_symbol ⇒ String? (readonly)

Returns the value of attribute sub_symbol.

Returns:

  • (String, nil)


84
85
86
# File 'sig/types.rbs', line 84

def sub_symbol
  @sub_symbol
end

#sup_symbol ⇒ String? (readonly)

Returns the value of attribute sup_symbol.

Returns:

  • (String, nil)


85
86
87
# File 'sig/types.rbs', line 85

def sup_symbol
  @sup_symbol
end

#tier_strategy ⇒ enum_TierStrategy? (readonly)

Returns the value of attribute tier_strategy.

Returns:

  • (enum_TierStrategy, nil)


105
106
107
# File 'sig/types.rbs', line 105

def tier_strategy
  @tier_strategy
end

#url_escape_style ⇒ enum_UrlEscapeStyle? (readonly)

Returns the value of attribute url_escape_style.

Returns:

  • (enum_UrlEscapeStyle, nil)


95
96
97
# File 'sig/types.rbs', line 95

def url_escape_style
  @url_escape_style
end

#visitor ⇒ VisitorHandle? (readonly)

Returns the value of attribute visitor.

Returns:



107
108
109
# File 'sig/types.rbs', line 107

def visitor
  @visitor
end

#whitespace_mode ⇒ enum_WhitespaceMode? (readonly)

Returns the value of attribute whitespace_mode.

Returns:

  • (enum_WhitespaceMode, nil)


79
80
81
# File 'sig/types.rbs', line 79

def whitespace_mode
  @whitespace_mode
end

#wrap ⇒ Boolean? (readonly)

Returns the value of attribute wrap.

Returns:

  • (Boolean, nil)


81
82
83
# File 'sig/types.rbs', line 81

def wrap
  @wrap
end

#wrap_width ⇒ Integer? (readonly)

Returns the value of attribute wrap_width.

Returns:

  • (Integer, nil)


82
83
84
# File 'sig/types.rbs', line 82

def wrap_width
  @wrap_width
end