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
759 760 761 |
# File 'lib/html_to_markdown/native.rb', line 759 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
739 |
# File 'lib/html_to_markdown/native.rb', line 739 def bold? = true |
#code? ⇒ Boolean
747 |
# File 'lib/html_to_markdown/native.rb', line 747 def code? = false |
#highlight? ⇒ Boolean
753 |
# File 'lib/html_to_markdown/native.rb', line 753 def highlight? = false |
#italic? ⇒ Boolean
741 |
# File 'lib/html_to_markdown/native.rb', line 741 def italic? = false |
#link? ⇒ Boolean
755 756 757 |
# File 'lib/html_to_markdown/native.rb', line 755 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
745 |
# File 'lib/html_to_markdown/native.rb', line 745 def strikethrough? = false |
#subscript? ⇒ Boolean
749 |
# File 'lib/html_to_markdown/native.rb', line 749 def subscript? = false |
#superscript? ⇒ Boolean
751 |
# File 'lib/html_to_markdown/native.rb', line 751 def superscript? = false |
#underline? ⇒ Boolean
743 |
# File 'lib/html_to_markdown/native.rb', line 743 def underline? = false |