Class: HtmlToMarkdown::AnnotationKindBold
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindBold
- Extended by:
- T::Sig
- Includes:
- AnnotationKind
- Defined in:
- lib/html_to_markdown/native.rb
Overview
Bold / strong 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
131 132 133 |
# File 'lib/html_to_markdown/native.rb', line 131 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
111 |
# File 'lib/html_to_markdown/native.rb', line 111 def bold? = true |
#code? ⇒ Boolean
119 |
# File 'lib/html_to_markdown/native.rb', line 119 def code? = false |
#highlight? ⇒ Boolean
125 |
# File 'lib/html_to_markdown/native.rb', line 125 def highlight? = false |
#italic? ⇒ Boolean
113 |
# File 'lib/html_to_markdown/native.rb', line 113 def italic? = false |
#link? ⇒ Boolean
127 128 129 |
# File 'lib/html_to_markdown/native.rb', line 127 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
117 |
# File 'lib/html_to_markdown/native.rb', line 117 def strikethrough? = false |
#subscript? ⇒ Boolean
121 |
# File 'lib/html_to_markdown/native.rb', line 121 def subscript? = false |
#superscript? ⇒ Boolean
123 |
# File 'lib/html_to_markdown/native.rb', line 123 def superscript? = false |
#underline? ⇒ Boolean
115 |
# File 'lib/html_to_markdown/native.rb', line 115 def underline? = false |