fix code block
This commit is contained in:
parent
43993000c6
commit
9c5b9e0fa2
16
README.md
16
README.md
@ -122,13 +122,15 @@ Logical and `&&` and logical or `||` can be used to chain conditions.
|
|||||||
If a condition is true, the corresponding block is included while all other blocks are deleted.
|
If a condition is true, the corresponding block is included while all other blocks are deleted.
|
||||||
|
|
||||||
**Synopsis**
|
**Synopsis**
|
||||||
<!-- #if #$(var) == value && #$(other_var) == other_value -->
|
```
|
||||||
...
|
<!-- #if #$(var) == value && #$(other_var) == other_value -->
|
||||||
<!-- #elif #$(var) == value || #$(other_var) != other_value -->
|
...
|
||||||
...
|
<!-- #elif #$(var) == value || #$(other_var) != other_value -->
|
||||||
<!-- #else -->
|
...
|
||||||
...
|
<!-- #else -->
|
||||||
<!-- #endif -->
|
...
|
||||||
|
<!-- #endif -->
|
||||||
|
```
|
||||||
|
|
||||||
**Argument** Condition for `if` and `elif`, ignored for `else` and `endif`
|
**Argument** Condition for `if` and `elif`, ignored for `else` and `endif`
|
||||||
**Return Value** Empty String
|
**Return Value** Empty String
|
||||||
|
Loading…
Reference in New Issue
Block a user