Class: HtmlToMarkdown::AnnotationKindItalic

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

Overview

Italic / emphasis.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



161
162
163
# File 'lib/html_to_markdown/native.rb', line 161

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code? ⇒ Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link? ⇒ Boolean

Returns:

  • (Boolean)


157
158
159
# File 'lib/html_to_markdown/native.rb', line 157

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

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline? ⇒ Boolean

Returns:

  • (Boolean)


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

def underline? = false