fluid icon indicating copy to clipboard operation
fluid copied to clipboard

Support single line liquid tags

Open sebastienros opened this issue 4 years ago • 1 comments

[DO NOT MERGE]

This is just to track the feature which I find useful, to be able to used inlined liquid tags instead of requiring a new line before each tag.

Right now Liquid 5.1.0 doesn't support this feature.

{% liquid if name == 'tobi' 
    echo 'hello tobi'
    endif %}

Could then be written

{% liquid if name == 'tobi' echo 'hello tobi' endif %}

sebastienros avatar Dec 01 '21 00:12 sebastienros

https://github.com/Shopify/liquid/issues/1493

sebastienros avatar Dec 01 '21 00:12 sebastienros