Class: HtmlToMarkdown::AnnotationKindHighlight
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindHighlight
- Extended by:
- T::Sig
- Includes:
- AnnotationKind
- Defined in:
- lib/html_to_markdown/native.rb
Overview
Highlighted / marked text.
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
341 342 343 |
# File 'lib/html_to_markdown/native.rb', line 341 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
321 |
# File 'lib/html_to_markdown/native.rb', line 321 def bold? = false |
#code? ⇒ Boolean
329 |
# File 'lib/html_to_markdown/native.rb', line 329 def code? = false |
#highlight? ⇒ Boolean
335 |
# File 'lib/html_to_markdown/native.rb', line 335 def highlight? = true |
#italic? ⇒ Boolean
323 |
# File 'lib/html_to_markdown/native.rb', line 323 def italic? = false |
#link? ⇒ Boolean
337 338 339 |
# File 'lib/html_to_markdown/native.rb', line 337 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
327 |
# File 'lib/html_to_markdown/native.rb', line 327 def strikethrough? = false |
#subscript? ⇒ Boolean
331 |
# File 'lib/html_to_markdown/native.rb', line 331 def subscript? = false |
#superscript? ⇒ Boolean
333 |
# File 'lib/html_to_markdown/native.rb', line 333 def superscript? = false |
#underline? ⇒ Boolean
325 |
# File 'lib/html_to_markdown/native.rb', line 325 def underline? = false |