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
677 678 679 |
# File 'lib/html_to_markdown/native.rb', line 677 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
657 |
# File 'lib/html_to_markdown/native.rb', line 657 def bold? = true |
#code? ⇒ Boolean
665 |
# File 'lib/html_to_markdown/native.rb', line 665 def code? = false |
#highlight? ⇒ Boolean
671 |
# File 'lib/html_to_markdown/native.rb', line 671 def highlight? = false |
#italic? ⇒ Boolean
659 |
# File 'lib/html_to_markdown/native.rb', line 659 def italic? = false |
#link? ⇒ Boolean
673 674 675 |
# File 'lib/html_to_markdown/native.rb', line 673 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
663 |
# File 'lib/html_to_markdown/native.rb', line 663 def strikethrough? = false |
#subscript? ⇒ Boolean
667 |
# File 'lib/html_to_markdown/native.rb', line 667 def subscript? = false |
#superscript? ⇒ Boolean
669 |
# File 'lib/html_to_markdown/native.rb', line 669 def superscript? = false |
#underline? ⇒ Boolean
661 |
# File 'lib/html_to_markdown/native.rb', line 661 def underline? = false |