Skip to product information
1 of 1
Published:2023.05.04

The difference between {% %} and {%- -%} in Shopify's Liquid

The difference between {% %} and {%- -%} in Shopify's Liquid

Applications

  • LIQUIDEdit

How to implement

  • LIQUID
View full details

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.


Related Post