Class: HtmlToMarkdown::AnnotationKindStrikethrough

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

Overview

Strikethrough / deleted text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



767
768
769
# File 'lib/html_to_markdown/native.rb', line 767

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


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

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = true

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false