Multiline Filters
PhoneDroid opened this issue · comments
I assume there already is a related issue,
but I wasn't able to find it if it exists.
Suggestion
Allow multiline filters in liquid blocks
{% liquid
# Showcase of multiline goodness
assign value = 'this-is-a-test'
| split : '-'
| uniq
| sort_natural
| join : ' '
%}
Reasoning
This would allow people to write cleaner, more structured
code that doesn't rely on the overuse of {%
tag %}
blocks
and would make writing 'pure code' a much easier task.
Extended
The same would be for parameters as well
{% liquid
render 'snippet'
, a : a
, b : b
%}