aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--book/src/configuration.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index abf276d..6e8d581 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -15,6 +15,8 @@ dirs = ["templates"]
whitespace = "preserve"
```
+## Whitespace control
+
In the default configuration, you can use the `-` operator to indicate that
whitespace should be suppressed before or after a block. For example:
@@ -55,6 +57,8 @@ character remaining will be a newline.
If you want this to be the default behaviour, you can set `whitespace` to
`"minimize"`.
+## Custom syntaxes
+
Here is an example that defines two custom syntaxes:
```toml