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
914 915 916 |
# File 'lib/html_to_markdown/native.rb', line 914 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
894 |
# File 'lib/html_to_markdown/native.rb', line 894 def bold? = false |
#code? ⇒ Boolean
902 |
# File 'lib/html_to_markdown/native.rb', line 902 def code? = false |
#highlight? ⇒ Boolean
908 |
# File 'lib/html_to_markdown/native.rb', line 908 def highlight? = true |
#italic? ⇒ Boolean
896 |
# File 'lib/html_to_markdown/native.rb', line 896 def italic? = false |
#link? ⇒ Boolean
910 911 912 |
# File 'lib/html_to_markdown/native.rb', line 910 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
900 |
# File 'lib/html_to_markdown/native.rb', line 900 def strikethrough? = false |
#subscript? ⇒ Boolean
904 |
# File 'lib/html_to_markdown/native.rb', line 904 def subscript? = false |
#superscript? ⇒ Boolean
906 |
# File 'lib/html_to_markdown/native.rb', line 906 def superscript? = false |
#underline? ⇒ Boolean
898 |
# File 'lib/html_to_markdown/native.rb', line 898 def underline? = false |