summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index bf4aabbb..daeccbd0 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -592,11 +592,16 @@ impl HtmlConfig {
pub struct Print {
/// Whether print support is enabled.
pub enable: bool,
+ /// Insert page breaks between chapters. Default: `true`.
+ pub page_break: bool,
}
impl Default for Print {
fn default() -> Self {
- Self { enable: true }
+ Self {
+ enable: true,
+ page_break: true,
+ }
}
}