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



879
880
881
# File 'lib/html_to_markdown/native.rb', line 879

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


875
876
877
# File 'lib/html_to_markdown/native.rb', line 875

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false