class Tourmaline::Format::Section

Direct Known Subclasses

Defined in:

tourmaline/extra/format.cr

Constructors

Class Method Summary

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(*tokens, indent : Int32 = 4, spacing : Int32 = 1) #

[View source]

Class Method Detail

def self.build(*args, **kwargs, &block : self -> ) #

[View source]

Instance Method Detail

def <<(*args, **options) #

[View source]
def <<(*args, **options, &) #

[View source]
def indent : Int32 #

[View source]
def indent=(indent : Int32) #

[View source]
def push(*args, **options) #

[View source]
def push(*args, **options, &) #

[View source]
def shift(*args, **options) #

[View source]
def shift(*args, **options, &) #

[View source]
def spacing : Int32 #

[View source]
def spacing=(spacing : Int32) #

[View source]
def to_html : String #

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

[View source]
def tokens : Array(Token | String) #

[View source]
def tokens=(tokens : Array(Token | String)) #

[View source]
def unshift(*args, **options) #

[View source]
def unshift(*args, **options, &) #

[View source]