Update README for lifted double space requirement
This commit is contained in:
parent
2a0bb9a072
commit
295bfb0131
1 changed files with 17 additions and 19 deletions
36
README.md
36
README.md
|
@ -15,10 +15,10 @@ not work). Example (`↦` for tab and `·` for space):
|
|||
```
|
||||
dish·fries:·Frietjes
|
||||
↦ single_choice·size:·Formaat
|
||||
↦ ↦ extra_small:·Extra small··€·1.8
|
||||
↦ ↦ small:·······Small········€·2
|
||||
↦ ↦ medium:······Medium·······€·2.5
|
||||
↦ ↦ large:·······Large········€·3.3
|
||||
↦ ↦ extra_small:·Extra small·€·1.8
|
||||
↦ ↦ small:·······Small·······€·2
|
||||
↦ ↦ medium:······Medium······€·2.5
|
||||
↦ ↦ large:·······Large·······€·3.3
|
||||
```
|
||||
|
||||
## Identifiers
|
||||
|
@ -52,8 +52,8 @@ A location consists of dishes. Spaces can be used to align the elements of your
|
|||
not required).
|
||||
|
||||
```hlds
|
||||
dish cheeseburger: Cheeseburger € 2.9
|
||||
dish assortment: Twijfelaar € 3
|
||||
dish cheeseburger: Cheeseburger € 2.9
|
||||
dish assortment: Twijfelaar € 3
|
||||
```
|
||||
|
||||
## Inline choices
|
||||
|
@ -64,15 +64,15 @@ Dishes can contain choices. There are two types:
|
|||
```hlds
|
||||
dish fries: Frietjes
|
||||
single_choice size: Formaat
|
||||
extra_small: Extra small € 1.8
|
||||
small: Small € 2
|
||||
medium: Medium € 2.5
|
||||
large: Large € 3.3
|
||||
extra_small: Extra small € 1.8
|
||||
small: Small € 2
|
||||
medium: Medium € 2.5
|
||||
large: Large € 3.3
|
||||
multi_choice sauce: Saus
|
||||
ketchup: Ketchup € 1.4
|
||||
mayo: Mayonaise € 1.4
|
||||
bicky: Bickysaus € 1.4
|
||||
stew: Stoofvleessaus € 1.9
|
||||
ketchup: Ketchup € 1.4
|
||||
mayo: Mayonaise € 1.4
|
||||
bicky: Bickysaus € 1.4
|
||||
stew: Stoofvleessaus € 1.9
|
||||
```
|
||||
|
||||
## Common choices
|
||||
|
@ -94,15 +94,13 @@ dish wok5: Studentenwok 5 babi pangang € 6
|
|||
You can add descriptions to dishes, choices and options. Separate name and description with ` -- `.
|
||||
|
||||
```hlds
|
||||
dish dishid: Name -- This is a description € 3
|
||||
dish dishid: Name -- This is a description € 3
|
||||
```
|
||||
|
||||
## Tags and price
|
||||
|
||||
**Note:** Only the `{no_text}` tag is supported at this moment. You can ignore other tags for now.
|
||||
|
||||
The tag and price part starts with at least two spaces: ` `.
|
||||
|
||||
Tags are `{identifier}`. You can use tags to attach more information about a dish or option in a
|
||||
structured way. For example: `{has_meat}` signals to vegetarians that they should avoid this.
|
||||
|
||||
|
@ -110,7 +108,7 @@ The order is always id, name, description, ` `, tags, price (not all have to be
|
|||
|
||||
```hlds
|
||||
|
||||
dish dishid: Name -- This is a description {has_meat} € 3
|
||||
dish dishid: Name -- This is a description {has_meat} € 3
|
||||
```
|
||||
|
||||
The special `{no_text}` tag signals that an option is to be hidden when showing a dish in an
|
||||
|
@ -119,7 +117,7 @@ read by the person making the order.
|
|||
|
||||
```hlds
|
||||
veggie: Vegetarische opties
|
||||
meat: Niet vegetarisch {has_meat} {no_text}
|
||||
meat: Niet vegetarisch {has_meat} {no_text}
|
||||
tofu: Vegetarisch met tofu
|
||||
falafel: Vegetarisch met falafel
|
||||
vegan: Veganistisch
|
||||
|
|
Loading…
Reference in a new issue