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
942 943 944 |
# File 'lib/html_to_markdown/native.rb', line 942 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
922 |
# File 'lib/html_to_markdown/native.rb', line 922 def bold? = false |
#code? ⇒ Boolean
930 |
# File 'lib/html_to_markdown/native.rb', line 930 def code? = false |
#highlight? ⇒ Boolean
936 |
# File 'lib/html_to_markdown/native.rb', line 936 def highlight? = true |
#italic? ⇒ Boolean
924 |
# File 'lib/html_to_markdown/native.rb', line 924 def italic? = false |
#link? ⇒ Boolean
938 939 940 |
# File 'lib/html_to_markdown/native.rb', line 938 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
928 |
# File 'lib/html_to_markdown/native.rb', line 928 def strikethrough? = false |
#subscript? ⇒ Boolean
932 |
# File 'lib/html_to_markdown/native.rb', line 932 def subscript? = false |
#superscript? ⇒ Boolean
934 |
# File 'lib/html_to_markdown/native.rb', line 934 def superscript? = false |
#underline? ⇒ Boolean
926 |
# File 'lib/html_to_markdown/native.rb', line 926 def underline? = false |