1
0
Fork 0
forked from Haldis/menus

Rename indentation section and fix small issue in example

This commit is contained in:
Midgard 2021-06-21 00:13:03 +02:00
parent 483cd1123e
commit 33eac9bfeb
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -7,14 +7,14 @@ There is syntax highlighting support for editors in [`etc/` in the Haldis
repository](https://git.zeus.gent/haldis/haldis/-/tree/master/etc). For VSCode there is a plug-in
in the standard repository.
## Indentation
## Tabs and spaces
Indentation at the beginning of the line requires hard **tabs** (spaces will not work).
For alignment (putting things in the same column between lines) **spaces** are required (tabs will
not work). Example (`↦` for tab and `·` for space):
```
dish·fries:·Frietjes
↦ single_choice size:·Formaat
↦ single_choice·size:·Formaat
↦ ↦ extra_small:·Extra small··€·1.8
↦ ↦ small:·······Small········€·2
↦ ↦ medium:······Medium·······€·2.5