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
912 913 914 |
# File 'lib/html_to_markdown/native.rb', line 912 def self.from_hash(hash) new end |
Instance Method Details
#bold? ⇒ Boolean
892 |
# File 'lib/html_to_markdown/native.rb', line 892 def bold? = false |
#code? ⇒ Boolean
900 |
# File 'lib/html_to_markdown/native.rb', line 900 def code? = false |
#highlight? ⇒ Boolean
906 |
# File 'lib/html_to_markdown/native.rb', line 906 def highlight? = false |
#italic? ⇒ Boolean
894 |
# File 'lib/html_to_markdown/native.rb', line 894 def italic? = false |
#link? ⇒ Boolean
908 909 910 |
# File 'lib/html_to_markdown/native.rb', line 908 def link? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#strikethrough? ⇒ Boolean
898 |
# File 'lib/html_to_markdown/native.rb', line 898 def strikethrough? = false |
#subscript? ⇒ Boolean
902 |
# File 'lib/html_to_markdown/native.rb', line 902 def subscript? = false |
#superscript? ⇒ Boolean
904 |
# File 'lib/html_to_markdown/native.rb', line 904 def superscript? = true |
#underline? ⇒ Boolean
896 |
# File 'lib/html_to_markdown/native.rb', line 896 def underline? = false |