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



882
883
884
# File 'lib/html_to_markdown/native.rb', line 882

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


878
879
880
# File 'lib/html_to_markdown/native.rb', line 878

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false