Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 241 Bytes

render.md

File metadata and controls

12 lines (8 loc) · 241 Bytes

render

Render a template string with a data

Examples

(render "hello" {}) ;; => "hello"

(render "hello {{msg}}" {:msg "world"}) ;; => "hello world"

(render "hello {{not-found}}" {:msg "world"}) ;; => "hello {{not-found}}"