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



942
943
944
# File 'lib/html_to_markdown/native.rb', line 942

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = false

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = true

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


938
939
940
# File 'lib/html_to_markdown/native.rb', line 938

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false