a block of code.

break = Causes the loop to stop iterating when it encounters the break tag.
continue = Causes the loop to skip the current iteration when it encounters the continue tag.

<pre><code>
{% for i in (1..10) %}
  {% if i == 4 %}
    {% break %}
  {% elsif i == 6 %}
    {% continue %}
  {% else %}
    {{ i }}
  {% endif %}
{% endfor %}
</code></pre>

<h3>range</h3>

<pre><code>
{% for i in (3..5) %}
  {{ i }}
{% endfor %}

{% assign num = 4 %}
{% for i in (1..num) %}
  {{ i }}
{% endfor %}
</cod