When editing a Shopify theme, you may notice that the liquid code delimiters work either with {% %} or with {%- -%} . The difference between the two is whether or not whitespace around the code is removed.
1
/
of
1
Published:2023.05.04
The difference between {% %} and {%- -%} in Shopify's Liquid
The difference between {% %} and {%- -%} in Shopify's Liquid
Applications
Applications
- LIQUIDEdit
How to implement
How to implement
- LIQUID
Share
