Class: HtmlToMarkdown::AnnotationKindItalic
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindItalic
- 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
- #bold? ⇒ Boolean
- #code? ⇒ Boolean
- #highlight? ⇒ Boolean
- #italic? ⇒ Boolean
- #link? ⇒ Boolean
- #strikethrough? ⇒ Boolean
- #subscript? ⇒ Boolean
- #superscript? ⇒ Boolean
- #underline? ⇒ Boolean
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
141 |
# File 'lib/html_to_markdown/native.rb', line 141 def bold? = false |
#code? ⇒ Boolean
149 |
# File 'lib/html_to_markdown/native.rb', line 149 def code? = false |
#highlight? ⇒ Boolean
155 |
# File 'lib/html_to_markdown/native.rb', line 155 def highlight? = false |
#italic? ⇒ Boolean
143 |
# File 'lib/html_to_markdown/native.rb', line 143 def italic? = true |
#link? ⇒ 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
147 |
# File 'lib/html_to_markdown/native.rb', line 147 def strikethrough? = false |
#subscript? ⇒ Boolean
151 |
# File 'lib/html_to_markdown/native.rb', line 151 def subscript? = false |
#superscript? ⇒ Boolean
153 |
# File 'lib/html_to_markdown/native.rb', line 153 def superscript? = false |
#underline? ⇒ Boolean
145 |
# File 'lib/html_to_markdown/native.rb', line 145 def underline? = false |