mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-28 22:55:12 -07:00
Markdown linting
This commit is contained in:
@@ -4,7 +4,7 @@ title: divided_by
|
|||||||
|
|
||||||
Divides a number by the specified number.
|
Divides a number by the specified number.
|
||||||
|
|
||||||
The result is rounded down to the nearest integer (that is, the [floor]({{ "/filters/floor" | prepend: site.baseurl }})) if the divisor is an integer.
|
The result is rounded down to the nearest integer (that is, the [floor]({{ site.baseurl }}/filters/floor)) if the divisor is an integer.
|
||||||
|
|
||||||
<p class="code-label">Input</p>
|
<p class="code-label">Input</p>
|
||||||
{% raw %}
|
{% raw %}
|
||||||
@@ -76,7 +76,6 @@ In this example, we're dividing by a variable that contains an integer, so we ge
|
|||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
|
||||||
<p class="code-label">Output</p>
|
<p class="code-label">Output</p>
|
||||||
``` text
|
``` text
|
||||||
{% assign my_integer = 7 %}
|
{% assign my_integer = 7 %}
|
||||||
@@ -94,7 +93,6 @@ Here, we [multiply]({{ site.baseurl}}/filters/times) the variable by `1.0` to ge
|
|||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
|
||||||
<p class="code-label">Output</p>
|
<p class="code-label">Output</p>
|
||||||
``` text
|
``` text
|
||||||
{% assign my_integer = 7 %}
|
{% assign my_integer = 7 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user