Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: liquidjs
node v16.18.0
version:
master
endpoint
share
tweet
const Liquid = require("liquidjs@6.4.3") const engine = new Liquid() const tpl = engine.parse(`(comment (refer 'set) (def xs #{{:a 11 :b 1 :c 1 :d 4} {:a 2 :b 12 :c 2 :d 6} {:a 3 :b 3 :c 3 :d 8 :f 42}}) (def ys #{{:a 11 :b 11 :c 11 :e 5} {:a 12 :b 11 :c 12 :e 3} {:a 3 :b 3 :c 3 :e 7 }}) (join xs ys) ; ... )`); engine.render(tpl, {}).then(console.log)
Created from: https://npm.runkit.com/liquidjs
Loading…
no comments
sign in
to comment