summaryrefslogtreecommitdiffstats
path: root/lib/configuration.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration.js')
-rw-r--r--lib/configuration.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/configuration.js b/lib/configuration.js
index 29776bd..9e839e6 100644
--- a/lib/configuration.js
+++ b/lib/configuration.js
@@ -246,6 +246,14 @@ Configuration.DEFAULT = {
// Choices are [u’a0’, u’a1’, u’a2’, u’a3’, u’a4’, u’a5’, u’a6’, u’b0’, u’b1’, u’b2’, u’b3’, u’b4’, u’b5’, u’b6’, u’legal’, u’letter’]
"paperSize": "a4",
+ // How to mark detected chapters.
+ // Choices are “pagebreak”, “rule”, "both" or “none”.
+ "chapterMark" : "pagebreak",
+
+ // An XPath expression. Page breaks are inserted before the specified elements.
+ // To disable use the expression: "/"
+ "pageBreaksBefore": "/",
+
// Margin (in pts)
// Note: 72 pts equals 1 inch
"margin": {