Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 25, 2023
1 parent cb0519d commit b6a9fa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ Allows to start the iteration of the loop at the specified zero-based index:

> **input**
```scriban-html
{{~ for $i in 4..9 | array.offset:2 ~}}
{{~ for $i in (4..9) offset:2 ~}}
{{ $i }}
{{~ end ~}}
```
Expand All @@ -1169,7 +1169,7 @@ Limits the iteration of the loop to a specified count:

> **input**
```scriban-html
{{~ for $i in 4..9 | array.limit:2 ~}}
{{~ for $i in (4..9) limit:2 ~}}
{{ $i }}
{{~ end ~}}
```
Expand All @@ -1185,7 +1185,7 @@ Reverses the iteration of the elements:

> **input**
```scriban-html
{{~ for $i in 1..3 | array.reversed ~}}
{{~ for $i in (1..3) reversed ~}}
{{ $i }}
{{~ end ~}}
```
Expand Down

0 comments on commit b6a9fa5

Please sign in to comment.