Internal functions for compilation.
Internal functions for compilation.
(compile-attr-map attrs)
Returns an unevaluated form that will render the supplied map as HTML attributes.
Returns an unevaluated form that will render the supplied map as HTML attributes.
(compile-html & content)
Pre-compile data structures into HTML where possible.
Pre-compile data structures into HTML where possible.
(compile-html-with-bindings & content)
Pre-compile data structures into HTML where possible, while taking into account bindings that modify the result like html-mode.
Pre-compile data structures into HTML where possible, while taking into account bindings that modify the result like *html-mode*.
(escape-html text)
Change special characters into HTML character entities if hiccup.util/escape-strings is true.
Change special characters into HTML character entities if hiccup.util/*escape-strings* is true.
(render-html this)
Turn a Clojure data type into a string of HTML.
Turn a Clojure data type into a string of HTML.
(normalize-element [tag & content :as tag-content])
Ensure an element vector is of the form [tag-name attrs content].
Ensure an element vector is of the form [tag-name attrs content].
(render-attr-map attrs)
Render a map of attributes.
Render a map of attributes.
(render-element element)
Render an element vector as a HTML element.
Render an element vector as a HTML element.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close