Test /
ConditionalStatementsAndVerticalSpace
This page illustrates a problem with (:if ...:)
and vertical space.
Let's say we want to produce a list where an item is only shown if a condition is satisfied:
* Item A * Item - true * Item B * Item C * Item - false * Item D |
|
Notice the extra vertical space in the item list...
Here is a possible workaround:
* Item A - * Item - true * Item B * Item C * Item - false * Item D |
|
A slightly nicer looking workaround:
* Item A - \ * Item - true \ * Item B * Item C \ * Item - false \ * Item D |
|
Here is every item inside an if-line, every item takes one line.
The false item occupies a line and shows as a blank line.
Seem logical to me. ~HansB
* Item A - * Item B - true * Item C * Item D - false * Item E |
|