Class: HtmlToMarkdown::AnnotationKindCode
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindCode
- Extended by:
- T::Sig
- Includes:
- AnnotationKind
- Defined in:
- lib/html_to_markdown/native.rb
Overview
Inline code.
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
251 252 253 |
# File 'lib/html_to_markdown/native.rb', line 251 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
231 |
# File 'lib/html_to_markdown/native.rb', line 231 def bold? = false |
#code? ⇒ Boolean
239 |
# File 'lib/html_to_markdown/native.rb', line 239 def code? = true |
#highlight? ⇒ Boolean
245 |
# File 'lib/html_to_markdown/native.rb', line 245 def highlight? = false |
#italic? ⇒ Boolean
233 |
# File 'lib/html_to_markdown/native.rb', line 233 def italic? = false |
#link? ⇒ Boolean
247 248 249 |
# File 'lib/html_to_markdown/native.rb', line 247 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
237 |
# File 'lib/html_to_markdown/native.rb', line 237 def strikethrough? = false |
#subscript? ⇒ Boolean
241 |
# File 'lib/html_to_markdown/native.rb', line 241 def subscript? = false |
#superscript? ⇒ Boolean
243 |
# File 'lib/html_to_markdown/native.rb', line 243 def superscript? = false |
#underline? ⇒ Boolean
235 |
# File 'lib/html_to_markdown/native.rb', line 235 def underline? = false |