echo
Last updated View as Markdown
Outputs an expression in the rendered HTML. This is identical to wrapping an expression in curly brackets ({{ and }}); it accepts filters, and it can be used inside liquid tags as well.
Example:
liquid
{% assign title = "YouCan" %}
{% echo title %}
{% liquid
echo title | upcase
%}1
2
3
4
5
6
2
3
4
5
6
Output
html
YouCan YOUCAN1