Liking cljdoc? Tell your friends :D
All platforms.

dda.template

Functions for a stencil like templating.

Functions for a stencil like templating.
raw docstring

parse-stencilclj/s

(parse-stencil template)

Parses stencils like {{key}} or {{[key1 key2 ...]}} and retunrs a distinct sequence of vectors containing [recognized line, the whole {{}} expresion to be replaced, key-expression]

Parses stencils like {{key}} or {{[key1 key2 ...]}} and retunrs a distinct
sequence of vectors containing [recognized line, the whole {{}} expresion to be replaced, key-expression]
sourceraw docstring

renderclj/s

(render template value-map)

renders a stencils like template and replaces {{key}} or {{[key1 key2 ...]}} with given value-map values.

renders a stencils like template and replaces {{key}} or {{[key1 key2 ...]}} with given value-map values.
sourceraw docstring

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

× close