Skip to main content

<<

macro

selmer.parser/<<

(<< [s])
Resolves the variables from your template string from the local-env, or the namespace and puts them into your template for you. e.g. (let [a 1] (<< "{{a}} + {{a}} = 2")) ;;=> "1 + 1 = 2"

No examples yet. Be the first to add one!