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



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

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false