disable fenced-code-language rule for existing lines
This commit is contained in:
@@ -144,13 +144,13 @@ The Liquid operators `==`, `>=`, and `<=` are not supported in the {% data varia
|
||||
|
||||
When all operands must be true for the condition to be true, use the operator `and`:
|
||||
|
||||
```
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
{% raw %}{% ifversion ghes > 2.21 and ghes < 3.1 %}{% endraw %}
|
||||
```
|
||||
|
||||
When at least one operand must be true for the condition to be true, use the operator `or`:
|
||||
|
||||
```
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
{% raw %}{% ifversion fpt or ghes > 2.21 %}{% endraw %}
|
||||
```
|
||||
|
||||
@@ -162,13 +162,13 @@ When using Liquid conditionals in lists or tables, you can use [whitespace contr
|
||||
|
||||
You can add a hyphen (`-`) on either the left, right, or both sides to indicate that there should be no newline or other whitespace on that side.
|
||||
|
||||
```
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
{% raw %}{%- ifversion fpt %}{% endraw %}
|
||||
```
|
||||
|
||||
For example, to version a table row, instead of adding liquid versioning for the row starting at the end of the previous row, like this:
|
||||
|
||||
```
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
Column A | Column B | Column C
|
||||
---------|----------|---------
|
||||
This row is for all versions | B1 | C1{% raw %}{% ifversion ghes %}{% endraw %}
|
||||
@@ -178,7 +178,7 @@ This row is for all versions | B3 | C3
|
||||
|
||||
You can include the liquid versioning on its own line and use whitespace control to strip the newline to the left of the liquid tag. This makes reading the source much easier, without breaking the rendering of the table:
|
||||
|
||||
```
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
Column A | Column B | Column C
|
||||
---------|----------|---------
|
||||
This row is for all versions | B1 | C1
|
||||
|
||||
Reference in New Issue
Block a user