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
707 708 709 |
# File 'lib/html_to_markdown/native.rb', line 707 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
687 |
# File 'lib/html_to_markdown/native.rb', line 687 def bold? = false |
#code? ⇒ Boolean
695 |
# File 'lib/html_to_markdown/native.rb', line 695 def code? = false |
#highlight? ⇒ Boolean
701 |
# File 'lib/html_to_markdown/native.rb', line 701 def highlight? = false |
#italic? ⇒ Boolean
689 |
# File 'lib/html_to_markdown/native.rb', line 689 def italic? = true |
#link? ⇒ Boolean
703 704 705 |
# File 'lib/html_to_markdown/native.rb', line 703 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
693 |
# File 'lib/html_to_markdown/native.rb', line 693 def strikethrough? = false |
#subscript? ⇒ Boolean
697 |
# File 'lib/html_to_markdown/native.rb', line 697 def subscript? = false |
#superscript? ⇒ Boolean
699 |
# File 'lib/html_to_markdown/native.rb', line 699 def superscript? = false |
#underline? ⇒ Boolean
691 |
# File 'lib/html_to_markdown/native.rb', line 691 def underline? = false |