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
887 888 889 |
# File 'lib/html_to_markdown/native.rb', line 887 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
867 |
# File 'lib/html_to_markdown/native.rb', line 867 def bold? = false |
#code? ⇒ Boolean
875 |
# File 'lib/html_to_markdown/native.rb', line 875 def code? = false |
#highlight? ⇒ Boolean
881 |
# File 'lib/html_to_markdown/native.rb', line 881 def highlight? = true |
#italic? ⇒ Boolean
869 |
# File 'lib/html_to_markdown/native.rb', line 869 def italic? = false |
#link? ⇒ Boolean
883 884 885 |
# File 'lib/html_to_markdown/native.rb', line 883 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
873 |
# File 'lib/html_to_markdown/native.rb', line 873 def strikethrough? = false |
#subscript? ⇒ Boolean
877 |
# File 'lib/html_to_markdown/native.rb', line 877 def subscript? = false |
#superscript? ⇒ Boolean
879 |
# File 'lib/html_to_markdown/native.rb', line 879 def superscript? = false |
#underline? ⇒ Boolean
871 |
# File 'lib/html_to_markdown/native.rb', line 871 def underline? = false |