mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 02:05:41 +03:00
Wrap capture example in {% raw %} and highlight it as Liquid
This commit is contained in:
@@ -58,7 +58,8 @@ I am being captured.
|
||||
Using `capture`, you can create complex strings using other variables created with `assign`.
|
||||
|
||||
<p class="code-label">Input</p>
|
||||
```text
|
||||
```liquid
|
||||
{% raw %}
|
||||
{% assign favorite_food = 'pizza' %}
|
||||
{% assign age = 35 %}
|
||||
|
||||
@@ -67,6 +68,7 @@ I am {{ age }} and my favorite food is {{ favorite_food }}.
|
||||
{% endcapture %}
|
||||
|
||||
{{ about_me }}
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
<p class="code-label">Output</p>
|
||||
|
||||
Reference in New Issue
Block a user