π Edit page
β Add page
Whitespace
{% raw %}
Variable
Trim whitespace from value.
{{- my_text -}}
Raw
raw
tag without the whitespace. This is useful inside capture
tag.
The proper raw tag is shown as βrawβ here otherwise it would not render on this page.
raw {% highlight ruby %}
def foo
puts 'foo'
end
{% endhighlight %} endraw
Note the endraw
cannot start with a dash.
This would give too much whitespace:
raw
{% highlight ruby %}
def foo
puts 'foo'
end
{% endhighlight %}
endraw
{% endraw %}