Skip to content

KeyValueItem

class Tourmaline::Format::KeyValueItem
inherits Tourmaline::Format::Token #

Class methods#

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

Methods#

#key : String | Tourmaline::Format::Token #

#key=(key) #

#to_html : String #

#to_md(version : Int32 = 2) : String #

#value : String | Tourmaline::Format::Token #

#value=(value) #