From 295bfb0131dcbeebce29ce1bf6c4c5749caeb1f0 Mon Sep 17 00:00:00 2001 From: Midgard Date: Sat, 29 Jun 2024 11:49:13 +0200 Subject: [PATCH] Update README for lifted double space requirement --- README.md | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index bb631e3..23b3d41 100644 --- a/README.md +++ b/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