Liking cljdoc? Tell your friends :D

hiccup.compiler

Internal functions for compilation.

Internal functions for compilation.
raw docstring

compile-attr-mapclj

(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.
sourceraw docstring

compile-htmlclj

(compile-html & content)

Pre-compile data structures into HTML where possible.

Pre-compile data structures into HTML where possible.
sourceraw docstring

compile-html-with-bindingsclj

(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*.
sourceraw docstring

escape-htmlclj

(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.
sourceraw docstring

HtmlRenderercljprotocol

render-htmlclj

(render-html this)

Turn a Clojure data type into a string of HTML.

Turn a Clojure data type into a string of HTML.
source

merge-classesclj

(merge-classes class classes)
source

normalize-elementclj

(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].
sourceraw docstring

render-attr-mapclj

(render-attr-map attrs)

Render a map of attributes.

Render a map of attributes.
sourceraw docstring

render-elementclj

(render-element element)

Render an element vector as a HTML element.

Render an element vector as a HTML element.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close