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
762 763 764 |
# File 'lib/html_to_markdown/native.rb', line 762 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
742 |
# File 'lib/html_to_markdown/native.rb', line 742 def bold? = false |
#code? ⇒ Boolean
750 |
# File 'lib/html_to_markdown/native.rb', line 750 def code? = false |
#highlight? ⇒ Boolean
756 |
# File 'lib/html_to_markdown/native.rb', line 756 def highlight? = false |
#italic? ⇒ Boolean
744 |
# File 'lib/html_to_markdown/native.rb', line 744 def italic? = true |
#link? ⇒ Boolean
758 759 760 |
# File 'lib/html_to_markdown/native.rb', line 758 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
748 |
# File 'lib/html_to_markdown/native.rb', line 748 def strikethrough? = false |
#subscript? ⇒ Boolean
752 |
# File 'lib/html_to_markdown/native.rb', line 752 def subscript? = false |
#superscript? ⇒ Boolean
754 |
# File 'lib/html_to_markdown/native.rb', line 754 def superscript? = false |
#underline? ⇒ Boolean
746 |
# File 'lib/html_to_markdown/native.rb', line 746 def underline? = false |