Drop blank lines from input examples

This commit is contained in:
EricFromCanada
2021-04-28 13:43:02 -04:00
parent 77c2dfa989
commit b98d3d6097
57 changed files with 152 additions and 152 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ Normally, even if it doesn't print text, any line of Liquid in your template wil
<p class="code-label">Input</p>
```liquid
{% raw %}
{%- raw -%}
{% assign my_variable = "tomato" %}
{{ my_variable }}
{% endraw %}
@@ -27,7 +27,7 @@ By including a hyphen in your `assign` closing delimiter, you can strip the whit
<p class="code-label">Input</p>
```liquid
{% raw %}
{%- raw -%}
{% assign my_variable = "tomato" -%}
{{ my_variable }}
{% endraw %}
@@ -43,7 +43,7 @@ If you don't want any of your tags to print whitespace, as a general rule you ca
<p class="code-label">Input</p>
```liquid
{% raw %}
{%- raw -%}
{% assign username = "John G. Chalmers-Smith" %}
{% if username and username.size > 10 %}
Wow, {{ username }} , you have a long name!
@@ -65,7 +65,7 @@ If you don't want any of your tags to print whitespace, as a general rule you ca
<p class="code-label">Input</p>
```liquid
{% raw %}
{%- raw -%}
{% assign username = "John G. Chalmers-Smith" -%}
{%- if username and username.size > 10 -%}
Wow, {{ username -}} , you have a long name!