Class: HtmlToMarkdown::AnnotationKindCode

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

Overview

Inline code.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



852
853
854
# File 'lib/html_to_markdown/native.rb', line 852

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


848
849
850
# File 'lib/html_to_markdown/native.rb', line 848

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false