From 077ba18bf95832e042157db6284d50460f56ab3e Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 6 Mar 2023 22:20:38 +0100 Subject: Add subsections for configuration chapter (#787) --- book/src/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'book/src/configuration.md') 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 -- cgit