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



251
252
253
# File 'lib/html_to_markdown/native.rb', line 251

def self.from_hash(hash)
  new
end

Instance Method Details

#bold? ⇒ Boolean

Returns:

  • (Boolean)


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

def bold? = false

#code? ⇒ Boolean

Returns:

  • (Boolean)


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

def code? = true

#highlight? ⇒ Boolean

Returns:

  • (Boolean)


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

def highlight? = false

#italic? ⇒ Boolean

Returns:

  • (Boolean)


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

def italic? = false

#link? ⇒ Boolean

Returns:

  • (Boolean)


247
248
249
# File 'lib/html_to_markdown/native.rb', line 247

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

#strikethrough? ⇒ Boolean

Returns:

  • (Boolean)


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

def strikethrough? = false

#subscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def subscript? = false

#superscript? ⇒ Boolean

Returns:

  • (Boolean)


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

def superscript? = false

#underline? ⇒ Boolean

Returns:

  • (Boolean)


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

def underline? = false