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



969
970
971
# File 'lib/html_to_markdown/native.rb', line 969

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = true

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


965
966
967
# File 'lib/html_to_markdown/native.rb', line 965

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false