Class: HtmlToMarkdown::AnnotationKindBold

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

Overview

Bold / strong emphasis.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false