class Tourmaline::Format::KeyValueItem

Defined in:

tourmaline/extra/format.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::Format::Token

to_html : String to_html, to_md(version : Int32) : String to_md

Constructor Detail

def self.new(key : Token | String, value : Token | String) #

[View source]

Instance Method Detail


[View source]
def key=(key : String | Tourmaline::Format::Token) #

[View source]
def to_html : String #

[View source]
def to_md(version : Int32 = 2) : String #

[View source]

[View source]
def value=(value : String | Tourmaline::Format::Token) #

[View source]