Class: HtmlToMarkdown::AnnotationKindSubscript

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
AnnotationKind
Defined in:
lib/html_to_markdown/native.rb

Overview

Subscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



827
828
829
# File 'lib/html_to_markdown/native.rb', line 827

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


823
824
825
# File 'lib/html_to_markdown/native.rb', line 823

def link? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false