mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Apply suggestions from code review
May as well keep the description of the initial render of the tag together. Co-authored-by: Dylan Thacker-Smith <[email protected]>
This commit is contained in:
co-authored by
Dylan Thacker-Smith
parent
95dca87f49
commit
c63fcdfe0a
+2
-2
@@ -79,7 +79,7 @@ I am 35 and my favourite food is pizza.
|
||||
|
||||
## increment
|
||||
|
||||
Creates and outputs a new number variable. On subsequent calls, it increases its value by one and outputs the new value. The initial value is 0.
|
||||
Creates and outputs a new number variable with initial value 0. On subsequent calls, it increases its value by one and outputs the new value.
|
||||
|
||||
<p class="code-label">Input</p>
|
||||
```liquid
|
||||
@@ -122,7 +122,7 @@ In the example below, a variable named "var" is created through `assign`. The `i
|
||||
|
||||
## decrement
|
||||
|
||||
Creates and outputs a new number variable. On subsequent calls, it decreases its value by one and outputs the new value. The initial value is -1.
|
||||
Creates and outputs a new number variable with initial value -1. On subsequent calls, it decreases its value by one and outputs the new value.
|
||||
|
||||
<p class="code-label">Input</p>
|
||||
```liquid
|
||||
|
||||
Reference in New Issue
Block a user