Class: HtmlToMarkdown::AnnotationKindSuperscript

Inherits:
Data
  • Object
show all
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

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

Returns:

  • (Boolean)


919
# File 'lib/html_to_markdown/native.rb', line 919

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


927
# File 'lib/html_to_markdown/native.rb', line 927

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


933
# File 'lib/html_to_markdown/native.rb', line 933

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


921
# File 'lib/html_to_markdown/native.rb', line 921

def italic? = false

#link?Boolean

Returns:

  • (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

Returns:

  • (Boolean)


925
# File 'lib/html_to_markdown/native.rb', line 925

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


929
# File 'lib/html_to_markdown/native.rb', line 929

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


931
# File 'lib/html_to_markdown/native.rb', line 931

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


923
# File 'lib/html_to_markdown/native.rb', line 923

def underline? = false