fix code block

This commit is contained in:
matthias@arch 2023-09-14 16:35:08 +02:00
parent 43993000c6
commit 9c5b9e0fa2

View File

@ -122,6 +122,7 @@ 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 -->
@ -129,6 +130,7 @@ If a condition is true, the corresponding block is included while all other bloc
<!-- #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