We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e059f1f commit 0bb3076Copy full SHA for 0bb3076
src/output/pdf.js
@@ -9,6 +9,9 @@ class pdf extends markdown {
9
if (fs.existsSync(file)) fs.unlinkSync(file);
10
11
markdownpdf({
12
+ paperFormat: 'A4',
13
+ paperOrientation: 'landscape',
14
+ paperBorder: '1cm',
15
cssPath: `${__dirname}/styles/layout/${style}.css`,
16
highlightCssPath: `${__dirname}/styles/highlight/${style}.css`
17
}).from.string(this.out).to(file, () => resolve());
@@ -19,4 +22,4 @@ class pdf extends markdown {
19
22
}
20
23
21
24
-module.exports = pdf;
25
+module.exports = pdf;
0 commit comments