Liking cljdoc? Tell your friends :D

hoquet.runtime


as-strclj/s

(as-str x)
source

container-tagsclj/s

A list of tags that need an explicit ending tag when rendered.

A list of tags that need an explicit ending tag when rendered.
sourceraw docstring

escape-htmlclj/s

(escape-html text)

Change special characters into HTML character entities.

Change special characters into HTML character entities.
sourceraw docstring

normalize-elementclj/s

(normalize-element [tag & content])

Ensure a tag vector is of the form [tag-name attrs content].

Ensure a tag vector is of the form [tag-name attrs content].
sourceraw docstring

render-attr-mapclj/s

(render-attr-map attrs)
source

render-attributeclj/s

(render-attribute [name value])
source

render-elementclj/s

(render-element element)

Render a tag vector as a HTML element.

Render a tag vector as a HTML element.
sourceraw docstring

render-htmlclj/s

(render-html x)

Turn a Clojure data type into a string of HTML. In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like for.

Turn a Clojure data type into a string of HTML.
In Hiccup, sequences are expanded out into the body. This is particularly useful for macros like `for`.
sourceraw docstring

xml-attributeclj/s

(xml-attribute name value)
(xml-attribute name value escape?)
source

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

× close