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



857
858
859
# File 'lib/html_to_markdown/native.rb', line 857

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

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

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false