Mint::HtmlBuilder
A simple class for building HTML using the built-in XML::Builder.
We only support tags that we actually need, which are deletaged to the
XML::Builder#element method. is handled differently since it
explicitly needs a closing tag.
Constructors
new(xml : XML::Builder)
SourceClass methods
Instance methods
article
Sourcearticle
Sourceaside
Sourceaside
Sourcebody
Sourcebody
Sourcecode
Sourcecode
Sourcediv
Sourcediv
Sourceh1
Sourceh1
Sourceh2
Sourceh2
Sourceh3
Sourceh3
Sourcehead
Sourcehead
Sourcehtml
Sourcehtml
Sourcelink
Sourcelink
Sourcemeta
Sourcemeta
Sourcenoscript
Sourcenoscript
Sourcepre
Sourcepre
Sourceraw(contents)
Sourcescript
Sourcescript
Sourcespan
Sourcespan
Sourcestrong
Sourcestrong
Sourcetag(tag, attributes, &)
Sourcetext(contents)
Sourcetitle
Sourcetitle
Source