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



732
733
734
# File 'lib/html_to_markdown/native.rb', line 732

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = true

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


728
729
730
# File 'lib/html_to_markdown/native.rb', line 728

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false