From 506df22f41b1a037cac436180f9774a7ad568fae Mon Sep 17 00:00:00 2001 From: ADTC Date: Fri, 5 Mar 2021 04:17:45 +0800 Subject: [PATCH] Put the initial values into a code container It looks better and more readable this way. --- _tags/variable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_tags/variable.md b/_tags/variable.md index 936a2eef..062f38fd 100644 --- a/_tags/variable.md +++ b/_tags/variable.md @@ -79,7 +79,7 @@ I am 35 and my favourite food is pizza. ## increment -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. +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.

Input

```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 with initial value -1. On subsequent calls, it decreases its value by one and outputs the new value. +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.

Input

```liquid