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



281
282
283
# File 'lib/html_to_markdown/native.rb', line 281

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code? ⇒ Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link? ⇒ Boolean

Returns:

  • (Boolean)


277
278
279
# File 'lib/html_to_markdown/native.rb', line 277

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

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def subscript? = true

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline? ⇒ Boolean

Returns:

  • (Boolean)


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

def underline? = false