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



909
910
911
# File 'lib/html_to_markdown/native.rb', line 909

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false