class

Mint::HtmlBuilder

Inherits Reference < Object

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

Class methods

build(*, optimize : Bool, doctype : Bool = true, &)
Source

Instance methods

article
Source
article
Source
aside
Source
aside
Source
body
Source
body
Source
code
Source
code
Source
head
Source
head
Source
html
Source
html
Source
meta
Source
meta
Source
noscript
Source
noscript
Source
raw(contents)
Source
script
Source
script
Source
span
Source
span
Source
strong
Source
strong
Source
tag(tag, attributes, &)
Source
text(contents)
Source
title
Source
title
Source