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



762
763
764
# File 'lib/html_to_markdown/native.rb', line 762

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = true

#link?Boolean

Returns:

  • (Boolean)


758
759
760
# File 'lib/html_to_markdown/native.rb', line 758

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false