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
732 733 734 |
# File 'lib/html_to_markdown/native.rb', line 732 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
712 |
# File 'lib/html_to_markdown/native.rb', line 712 def bold? = true |
#code? ⇒ Boolean
720 |
# File 'lib/html_to_markdown/native.rb', line 720 def code? = false |
#highlight? ⇒ Boolean
726 |
# File 'lib/html_to_markdown/native.rb', line 726 def highlight? = false |
#italic? ⇒ Boolean
714 |
# File 'lib/html_to_markdown/native.rb', line 714 def italic? = false |
#link? ⇒ Boolean
728 729 730 |
# File 'lib/html_to_markdown/native.rb', line 728 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
718 |
# File 'lib/html_to_markdown/native.rb', line 718 def strikethrough? = false |
#subscript? ⇒ Boolean
722 |
# File 'lib/html_to_markdown/native.rb', line 722 def subscript? = false |
#superscript? ⇒ Boolean
724 |
# File 'lib/html_to_markdown/native.rb', line 724 def superscript? = false |
#underline? ⇒ Boolean
716 |
# File 'lib/html_to_markdown/native.rb', line 716 def underline? = false |