Class: HtmlToMarkdown::AnnotationKindBold

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/html_to_markdown/native.rb

Overview

Bold / strong emphasis.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



131
132
133
# File 'lib/html_to_markdown/native.rb', line 131

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


111
# File 'lib/html_to_markdown/native.rb', line 111

def bold? = true

#code? ⇒ Boolean

Returns:

  • (Boolean)


119
# File 'lib/html_to_markdown/native.rb', line 119

def code? = false

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


125
# File 'lib/html_to_markdown/native.rb', line 125

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


113
# File 'lib/html_to_markdown/native.rb', line 113

def italic? = false

#link? ⇒ Boolean

Returns:

  • (Boolean)


127
128
129
# File 'lib/html_to_markdown/native.rb', line 127

def link? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


117
# File 'lib/html_to_markdown/native.rb', line 117

def strikethrough? = false

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


121
# File 'lib/html_to_markdown/native.rb', line 121

def subscript? = false

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


123
# File 'lib/html_to_markdown/native.rb', line 123

def superscript? = false

#underline? ⇒ Boolean

Returns:

  • (Boolean)


115
# File 'lib/html_to_markdown/native.rb', line 115

def underline? = false