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
969 970 971 |
# File 'lib/html_to_markdown/native.rb', line 969 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
949 |
# File 'lib/html_to_markdown/native.rb', line 949 def bold? = false |
#code? ⇒ Boolean
957 |
# File 'lib/html_to_markdown/native.rb', line 957 def code? = false |
#highlight? ⇒ Boolean
963 |
# File 'lib/html_to_markdown/native.rb', line 963 def highlight? = true |
#italic? ⇒ Boolean
951 |
# File 'lib/html_to_markdown/native.rb', line 951 def italic? = false |
#link? ⇒ Boolean
965 966 967 |
# File 'lib/html_to_markdown/native.rb', line 965 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
955 |
# File 'lib/html_to_markdown/native.rb', line 955 def strikethrough? = false |
#subscript? ⇒ Boolean
959 |
# File 'lib/html_to_markdown/native.rb', line 959 def subscript? = false |
#superscript? ⇒ Boolean
961 |
# File 'lib/html_to_markdown/native.rb', line 961 def superscript? = false |
#underline? ⇒ Boolean
953 |
# File 'lib/html_to_markdown/native.rb', line 953 def underline? = false |