Echo

v9.31.0

Outputs an expression in the rendered HTML. This is identical to wrapping an expression in {{` and `}}, but works inside liquid tags and supports filters.

echo

Input

{% assign username = 'Bob' %}
{% echo username | append: ", welcome to LiquidJS!" | capitalize %}

Output

Bob, welcome to LiquidJS!