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.