--- url: https://docs.youcan.shop/themes/tags/liquid.md --- # `liquid` Runs several tags inside one set of delimiters. Each line inside the tag is one tag, written without its own `{%` and `%}`. * Block tags such as `if`, `case`, and `for` need their closing tag on its own line. * Use `echo` to output a value. It accepts filters. * Variables assigned inside the tag stay available after it. **Example:** ```liquid {% liquid assign size = 20 case size when 10 assign page_status = 'low' when 20 assign page_status = 'exact' when 30 assign page_status = 'high' else assign page_status = 'unknown' endcase echo page_status | upcase %} ``` ::: tip Output ```html EXACT ``` :::