Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

{% %} vs {%- -%} in shopify

CoderHomie answered on May 18, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • shopify comment code
  • Shopify.formatMoney
  • include snippet shopify
  • how to add jquery to shopify
  • shopify
  • shopify functions nodejs
  • shopify liquid data format
  • {%- -%} vs {% %} shopify liquid
  • custom js shopify

  • {% %} vs {%- -%} in shopify

    0

    The only difference is that one strips the white space and the other doesn't. So this {% %} will keep any white space around it. And this {%- -%} will strip the white space. 

    Popularity 3/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 18 2023
    CoderHomie
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.