diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-03-06 22:20:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 22:20:38 +0100 |
commit | 077ba18bf95832e042157db6284d50460f56ab3e (patch) | |
tree | 27b7ea754abcc9e69a8713ccf58457ec3940b4cf /book/src | |
parent | dc864486ec8c258388b4e006d9517e6e30c34a4d (diff) | |
download | askama-077ba18bf95832e042157db6284d50460f56ab3e.tar.gz askama-077ba18bf95832e042157db6284d50460f56ab3e.tar.bz2 askama-077ba18bf95832e042157db6284d50460f56ab3e.zip |
Add subsections for configuration chapter (#787)
Diffstat (limited to '')
-rw-r--r-- | book/src/configuration.md | 4 |
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 |