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



824
825
826
# File 'lib/html_to_markdown/native.rb', line 824

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


820
821
822
# File 'lib/html_to_markdown/native.rb', line 820

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false