Class: HtmlToMarkdown::AnnotationKindHighlight

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

Overview

Highlighted / marked text.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



914
915
916
# File 'lib/html_to_markdown/native.rb', line 914

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = true

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


910
911
912
# File 'lib/html_to_markdown/native.rb', line 910

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false