Skip to content

CodeBlock

class Tourmaline::Format::CodeBlock
inherits Tourmaline::Format::Token #

Class methods#

.new(token : String, language : String? = nil) #

Methods#

#language : String? #

#language=(language) #

#to_html : String #

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

#token : String #

#token=(token) #