diff --git a/_tags/comment.md b/_tags/comment.md index 3125ffd..4961c00 100644 --- a/_tags/comment.md +++ b/_tags/comment.md @@ -3,9 +3,7 @@ title: Comment description: An overview of comments tags in the Liquid template language. --- -Allows you to leave un-rendered code inside a Liquid template. Any text within -the opening and closing `comment` blocks will not be printed, and any Liquid code -within will not be executed. +Allows you to leave un-rendered code inside a Liquid template. Any text within the opening and closing `comment` blocks will not be printed, and any Liquid code within will not be executed.

Input

```liquid diff --git a/_tags/iteration.md b/_tags/iteration.md index 2a4fc71..27dcdf6 100644 --- a/_tags/iteration.md +++ b/_tags/iteration.md @@ -99,7 +99,7 @@ Limits the loop to the specified number of iterations. {% for item in array limit:2 %} {{ item }} -{% endfor %} +{% endfor %} {% endraw %} ``` @@ -118,7 +118,7 @@ Begins the loop at the specified index. {% for item in array offset:2 %} {{ item }} -{% endfor %} +{% endfor %} {% endraw %} ``` @@ -155,15 +155,15 @@ Defines a range of numbers to loop through. The range can be defined by both lit

Input

```liquid {% raw %} -{% for i in (3..5) %} +{% for i in (3..5) %} {{ i }} -{% endfor %} +{% endfor %} {% assign num = 4 %} {% assign range = (1..num) %} {% for i in range %} {{ i }} -{% endfor %} +{% endfor %} {% endraw %} ``` @@ -183,7 +183,7 @@ Reverses the order of the loop. Note that this flag's spelling is different from {% for item in array reversed %} {{ item }} -{% endfor %} +{% endfor %} {% endraw %} ``` @@ -363,17 +363,17 @@ Defines a range of numbers to loop through. The range can be defined by both lit {% assign num = 4 %} -{% tablerow i in (1..num) %} +{% tablerow i in (1..num) %} {{ i }} -{% endtablerow %} +{% endtablerow %}
-{% tablerow i in (3..5) %} +{% tablerow i in (3..5) %} {{ i }} -{% endtablerow %} +{% endtablerow %}
{% endraw %} ``` diff --git a/_tags/raw.md b/_tags/raw.md index 610b329..668cd4d 100644 --- a/_tags/raw.md +++ b/_tags/raw.md @@ -3,8 +3,7 @@ title: Raw description: An overview of raw tags in the Liquid template language. --- -Raw temporarily disables tag processing. This is useful for generating content -(eg, Mustache, Handlebars) which uses conflicting syntax. +Temporarily disables tag processing. This is useful for generating certain content (eg, Mustache, Handlebars) that uses conflicting syntax.

Input

```liquid