add page-break option to docs

This commit is contained in:
Daniel Morawetz 2022-01-17 18:07:22 +01:00
parent 7b1241d0f2
commit 9e6217871e
No known key found for this signature in database
GPG Key ID: 0608A7C8F460343D
1 changed files with 2 additions and 0 deletions

View File

@ -173,10 +173,12 @@ By default, mdBook will include an icon on the top right of the book (which look
```toml ```toml
[output.html.print] [output.html.print]
enable = true # include support for printable output enable = true # include support for printable output
page-break = true # insert page-break after each chapter
``` ```
- **enable:** Enable print support. When `false`, all print support will not be - **enable:** Enable print support. When `false`, all print support will not be
rendered. Defaults to `true`. rendered. Defaults to `true`.
- **page-break** Insert page breaks between chapters. Defaults to `true`.
### `[output.html.fold]` ### `[output.html.fold]`