Liking cljdoc? Tell your friends :D

bosquet.template.selmer


append-slotclj

(append-slot template slot)
source

clear-gen-var-slotclj

(clear-gen-var-slot template slot)

Remove a slot reference from the template and all the text after it. This is to enforce the generation context up to the generation slot.

template = '{{x}}^2 = {{y}} further text' slot = '{{y}}' => '{{x}}^2 = '

Remove a `slot` reference from the `template` and
all the text after it. This is to enforce the generation
context up to the generation slot.

`template` = '{{x}}^2 = {{y}} further text'
`slot` = '{{y}}'
=> '{{x}}^2 = '
sourceraw docstring

known-variablesclj

(known-variables template)

Known variables in the template or templates

Known variables in the `template` or templates
sourceraw docstring

known-variables-in-orderclj

(known-variables-in-order input & [opts])

The same as Selmer's known-variables but do not produce set thus loosing the order

The same as Selmer's `known-variables` but do not produce
set thus loosing the order
sourceraw docstring

missing-value-noopclj

(missing-value-noop tag _context-map)
source

renderclj

(render text ctx)
source

set-missing-value-formatterclj

(set-missing-value-formatter)

Since some of the slots are AI-generated later in the process, do not touch slots that have no date in parsing context.

Since some of the slots are AI-generated later in the process,
do not touch slots that have no date in parsing context.
sourceraw docstring

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

× close