class Tourmaline::Format::CodeBlock

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(token : String, language : String | Nil = nil) #

[View source]

Instance Method Detail

def language : String? #

[View source]
def language=(language : Nil | String) #

[View source]
def to_html : String #

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

[View source]
def token : String #

[View source]
def token=(token : String) #

[View source]