Liking cljdoc? Tell your friends :D

playbook.template

Markdown templates with {{name}} variables, rendered to HTML with their metadata.

Markdown templates with {{name}} variables, rendered to HTML with
their metadata.
raw docstring

render-markdown-templateclj

(render-markdown-template vars template-text)

Render a markdown template, substituting {{name}} variables from vars, and return {:html ... :metadata ...}. The values are substituted after the markdown is rendered, into the HTML and the metadata, so a value is never read as markdown: a name like "Claim your prize" stays text instead of becoming a link. Callers pass values ready for HTML (escaped, or deliberate markup).

Render a markdown template, substituting {{name}} variables from
vars, and return {:html ... :metadata ...}. The values are
substituted after the markdown is rendered, into the HTML and the
metadata, so a value is never read as markdown: a name like
"[Claim your prize](https://x.co)" stays text instead of becoming
a link. Callers pass values ready for HTML (escaped, or deliberate
markup).
sourceraw docstring

render-resource-templateclj

(render-resource-template resource-name)
(render-resource-template resource-name vars)

Render the markdown template in the named classpath resource, or return nil if there is no such resource.

Render the markdown template in the named classpath resource, or
return nil if there is no such resource.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close