Renders HTML, XML, or XHTML markup to a string, based on prior work in Hiccup.
ConstantsConstants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.
Functions, Macros, and Special Forms
(html & content)
Renders the Hiccup-style content as HTML markup, returning a string ofsource
The first parameter may be a map, which is options for the entire render.
The :mode option defaults to :xhtml but can also be :html, :xml, or :sgml.
A raw string is pre-rendered content that is added directly to the output markupsource
without any interpretation or escaping.