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
789 790 791 |
# File 'lib/html_to_markdown/native.rb', line 789 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
769 |
# File 'lib/html_to_markdown/native.rb', line 769 def bold? = false |
#code? ⇒ Boolean
777 |
# File 'lib/html_to_markdown/native.rb', line 777 def code? = false |
#highlight? ⇒ Boolean
783 |
# File 'lib/html_to_markdown/native.rb', line 783 def highlight? = false |
#italic? ⇒ Boolean
771 |
# File 'lib/html_to_markdown/native.rb', line 771 def italic? = true |
#link? ⇒ Boolean
785 786 787 |
# File 'lib/html_to_markdown/native.rb', line 785 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
775 |
# File 'lib/html_to_markdown/native.rb', line 775 def strikethrough? = false |
#subscript? ⇒ Boolean
779 |
# File 'lib/html_to_markdown/native.rb', line 779 def subscript? = false |
#superscript? ⇒ Boolean
781 |
# File 'lib/html_to_markdown/native.rb', line 781 def superscript? = false |
#underline? ⇒ Boolean
773 |
# File 'lib/html_to_markdown/native.rb', line 773 def underline? = false |