Class: HtmlToMarkdown::AnnotationKindSuperscript

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

Overview

Superscript text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



311
312
313
# File 'lib/html_to_markdown/native.rb', line 311

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code? ⇒ Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link? ⇒ Boolean

Returns:

  • (Boolean)


307
308
309
# File 'lib/html_to_markdown/native.rb', line 307

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

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def superscript? = true

#underline? ⇒ Boolean

Returns:

  • (Boolean)


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

def underline? = false