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
852 853 854 |
# File 'lib/html_to_markdown/native.rb', line 852 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
832 |
# File 'lib/html_to_markdown/native.rb', line 832 def bold? = false |
#code? ⇒ Boolean
840 |
# File 'lib/html_to_markdown/native.rb', line 840 def code? = true |
#highlight? ⇒ Boolean
846 |
# File 'lib/html_to_markdown/native.rb', line 846 def highlight? = false |
#italic? ⇒ Boolean
834 |
# File 'lib/html_to_markdown/native.rb', line 834 def italic? = false |
#link? ⇒ Boolean
848 849 850 |
# File 'lib/html_to_markdown/native.rb', line 848 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
838 |
# File 'lib/html_to_markdown/native.rb', line 838 def strikethrough? = false |
#subscript? ⇒ Boolean
842 |
# File 'lib/html_to_markdown/native.rb', line 842 def subscript? = false |
#superscript? ⇒ Boolean
844 |
# File 'lib/html_to_markdown/native.rb', line 844 def superscript? = false |
#underline? ⇒ Boolean
836 |
# File 'lib/html_to_markdown/native.rb', line 836 def underline? = false |