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



854
855
856
# File 'lib/html_to_markdown/native.rb', line 854

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false