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 (:if true:) * Item - true (:ifend:) * Item B * Item C (:if false:) * Item - false (:ifend:) * Item D |
|
Notice the extra vertical space in the item list...
Here is a possible workaround:
* Item A - (:if true:) * Item - true (:ifend:)* Item B * Item C (:if false:) * Item - false (:ifend:) * Item D |
|
A slightly nicer looking workaround:
* Item A - \ (:if true:) * Item - true \ (:ifend:) * Item B * Item C \ (:if false:) * Item - false \ (:ifend:) * 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 - (:if true:)* Item B - true(:ifend:) * Item C (:if false:)* Item D - false (:ifend:) * Item E |
|