Skip to content

Commit 00ea1ff

Browse files
authored
Enhance Liquid introduction with inline comment example
Added example of inline comments in Liquid code.
1 parent d12eaf7 commit 00ea1ff

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

app/views/pages/api-reference/liquid/introduction.liquid

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,18 @@ You can also use `comment` inside the `liquid` tag:
136136
%}
137137
{% endraw %}
138138
```
139+
140+
Or you can use `#` for inline comment:
141+
142+
```liquid
143+
{% raw %}
144+
{% liquid
145+
# This is is my code comment
146+
# and this as well
147+
148+
echo 'This is not a comment'
149+
%}
150+
{% endraw %}
151+
```
152+
153+

0 commit comments

Comments
 (0)