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
704 705 706 |
# File 'lib/html_to_markdown/native.rb', line 704 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
684 |
# File 'lib/html_to_markdown/native.rb', line 684 def bold? = true |
#code? ⇒ Boolean
692 |
# File 'lib/html_to_markdown/native.rb', line 692 def code? = false |
#highlight? ⇒ Boolean
698 |
# File 'lib/html_to_markdown/native.rb', line 698 def highlight? = false |
#italic? ⇒ Boolean
686 |
# File 'lib/html_to_markdown/native.rb', line 686 def italic? = false |
#link? ⇒ Boolean
700 701 702 |
# File 'lib/html_to_markdown/native.rb', line 700 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
690 |
# File 'lib/html_to_markdown/native.rb', line 690 def strikethrough? = false |
#subscript? ⇒ Boolean
694 |
# File 'lib/html_to_markdown/native.rb', line 694 def subscript? = false |
#superscript? ⇒ Boolean
696 |
# File 'lib/html_to_markdown/native.rb', line 696 def superscript? = false |
#underline? ⇒ Boolean
688 |
# File 'lib/html_to_markdown/native.rb', line 688 def underline? = false |