Class: HtmlToMarkdown::AnnotationKindSuperscript
- Inherits:
-
Data
- Object
- Data
- HtmlToMarkdown::AnnotationKindSuperscript
- Extended by:
- T::Sig
- Includes:
- AnnotationKind
- Defined in:
- lib/html_to_markdown/native.rb
Overview
Superscript text.
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
857 858 859 |
# File 'lib/html_to_markdown/native.rb', line 857 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
837 |
# File 'lib/html_to_markdown/native.rb', line 837 def bold? = false |
#code? ⇒ Boolean
845 |
# File 'lib/html_to_markdown/native.rb', line 845 def code? = false |
#highlight? ⇒ Boolean
851 |
# File 'lib/html_to_markdown/native.rb', line 851 def highlight? = false |
#italic? ⇒ Boolean
839 |
# File 'lib/html_to_markdown/native.rb', line 839 def italic? = false |
#link? ⇒ Boolean
853 854 855 |
# File 'lib/html_to_markdown/native.rb', line 853 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
843 |
# File 'lib/html_to_markdown/native.rb', line 843 def strikethrough? = false |
#subscript? ⇒ Boolean
847 |
# File 'lib/html_to_markdown/native.rb', line 847 def subscript? = false |
#superscript? ⇒ Boolean
849 |
# File 'lib/html_to_markdown/native.rb', line 849 def superscript? = true |
#underline? ⇒ Boolean
841 |
# File 'lib/html_to_markdown/native.rb', line 841 def underline? = false |