Class: HtmlToMarkdown::AnnotationKindItalic

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

Overview

Italic / emphasis.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



707
708
709
# File 'lib/html_to_markdown/native.rb', line 707

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


703
704
705
# File 'lib/html_to_markdown/native.rb', line 703

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false