mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -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>
|
||||
```liquid
|
||||
{% raw %}
|
||||
{% for i in (3..5) %}
|
||||
{{ i }}
|
||||
{% endfor %}
|
||||
|
||||
{% raw %}
|
||||
{% assign num = 4 %}
|
||||
{% for i in (1..num) %}
|
||||
{{ i }}
|
||||
|
||||
Reference in New Issue
Block a user