Functions for a stencil like templating.
Functions for a stencil like templating.
(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](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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |