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



912
913
914
# File 'lib/html_to_markdown/native.rb', line 912

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

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

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false