Back

html (clj)

(source)

macro

(html options & content)
Render Clojure data structures to a string of HTML. Strings are **not** automatically escaped, but must be manually escaped with the [[h]] function. A literal option map may be specified as the first argument. It accepts the following keys: `:mode` : One of `:html`, `:xhtml`, `:xml` or `:sgml` (defaults to `:xhtml`). Controls how tags are rendered.

Examples