Skip to content

class Tourmaline::Format::Section
inherits Tourmaline::Format::Token #

Direct known subclasses

Tourmaline::Format::SubSection Tourmaline::Format::SubSubSection

Constructors#

.new(*tokens, indent : Int32 = 4, spacing : Int32 = 1) #

View source

Class methods#

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

View source

Methods#

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

View source

#indent : Int32 #

View source

#indent=(indent : Int32) #

View source

#push(*args, **options) #

View source

#push #

View source

#shift(*args, **options) #

View source

#shift #

View source

#spacing : Int32 #

View source

#spacing=(spacing : Int32) #

View source

#to_html : String #

View source

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

View source

#tokens : Array(Token | String) #

View source

#tokens=(tokens : Array(Token | String)) #

View source

#unshift(*args, **options) #

View source

#unshift #

View source