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



797
798
799
# File 'lib/html_to_markdown/native.rb', line 797

def self.from_hash(hash)
  new
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code?Boolean

Returns:

  • (Boolean)


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

def code? = true

#highlight?Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic?Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link?Boolean

Returns:

  • (Boolean)


793
794
795
# File 'lib/html_to_markdown/native.rb', line 793

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

#strikethrough?Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript?Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript?Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline?Boolean

Returns:

  • (Boolean)


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

def underline? = false