mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-02 16:45:12 -07:00
Update iteration.md
Fix liquid syntax error Liquid Warning: Liquid syntax error (line 111): Unexpected character in "i in (3..5) " in tags/iteration.md
This commit is contained in:
+1
-1
@@ -112,11 +112,11 @@ Defines a range of numbers to loop through. The range can be defined by both lit
|
|||||||
|
|
||||||
<p class="code-label">Input</p>
|
<p class="code-label">Input</p>
|
||||||
```liquid
|
```liquid
|
||||||
|
{% raw %}
|
||||||
{% for i in (3..5) %}
|
{% for i in (3..5) %}
|
||||||
{{ i }}
|
{{ i }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% raw %}
|
|
||||||
{% assign num = 4 %}
|
{% assign num = 4 %}
|
||||||
{% for i in (1..num) %}
|
{% for i in (1..num) %}
|
||||||
{{ i }}
|
{{ i }}
|
||||||
|
|||||||
Reference in New Issue
Block a user