liquid.js
liquid.js copied to clipboard
Is there a way to get all the variables / tokens used in a template ?
Lets say the template is
Hi {{first_name | default: 'there'}},
How is the weather in {{city | default: 'your city'}} ?
Thanks!
I would like to get all the variables used here, i.e. ['first_name', 'city']