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
824 825 826 |
# File 'lib/html_to_markdown/native.rb', line 824 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
804 |
# File 'lib/html_to_markdown/native.rb', line 804 def bold? = false |
#code? ⇒ Boolean
812 |
# File 'lib/html_to_markdown/native.rb', line 812 def code? = true |
#highlight? ⇒ Boolean
818 |
# File 'lib/html_to_markdown/native.rb', line 818 def highlight? = false |
#italic? ⇒ Boolean
806 |
# File 'lib/html_to_markdown/native.rb', line 806 def italic? = false |
#link? ⇒ Boolean
820 821 822 |
# File 'lib/html_to_markdown/native.rb', line 820 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
810 |
# File 'lib/html_to_markdown/native.rb', line 810 def strikethrough? = false |
#subscript? ⇒ Boolean
814 |
# File 'lib/html_to_markdown/native.rb', line 814 def subscript? = false |
#superscript? ⇒ Boolean
816 |
# File 'lib/html_to_markdown/native.rb', line 816 def superscript? = false |
#underline? ⇒ Boolean
808 |
# File 'lib/html_to_markdown/native.rb', line 808 def underline? = false |