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



677
678
679
# File 'lib/html_to_markdown/native.rb', line 677

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


673
674
675
# File 'lib/html_to_markdown/native.rb', line 673

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false