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
939 940 941 |
# File 'lib/html_to_markdown/native.rb', line 939 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
919 |
# File 'lib/html_to_markdown/native.rb', line 919 def bold? = false |
#code? ⇒ Boolean
927 |
# File 'lib/html_to_markdown/native.rb', line 927 def code? = false |
#highlight? ⇒ Boolean
933 |
# File 'lib/html_to_markdown/native.rb', line 933 def highlight? = false |
#italic? ⇒ Boolean
921 |
# File 'lib/html_to_markdown/native.rb', line 921 def italic? = false |
#link? ⇒ Boolean
935 936 937 |
# File 'lib/html_to_markdown/native.rb', line 935 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
925 |
# File 'lib/html_to_markdown/native.rb', line 925 def strikethrough? = false |
#subscript? ⇒ Boolean
929 |
# File 'lib/html_to_markdown/native.rb', line 929 def subscript? = false |
#superscript? ⇒ Boolean
931 |
# File 'lib/html_to_markdown/native.rb', line 931 def superscript? = true |
#underline? ⇒ Boolean
923 |
# File 'lib/html_to_markdown/native.rb', line 923 def underline? = false |