liquid.js icon indicating copy to clipboard operation
liquid.js copied to clipboard

Is there a way to get all the variables / tokens used in a template ?

Open heaplabs opened this issue 7 years ago • 1 comments

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']

heaplabs avatar Aug 21 '17 15:08 heaplabs

Legal Steroids

moonkakaija avatar Jan 11 '18 13:01 moonkakaija