mirror of
https://github.com/Qyriad/fusee-launcher.git
synced 2024-11-22 14:29:19 +01:00
14 lines
305 B
JavaScript
14 lines
305 B
JavaScript
|
#!/usr/bin/env node
|
||
|
var markdownpdf = require("markdown-pdf"), fs = require("fs")
|
||
|
|
||
|
// Markdown rendering options:
|
||
|
options = {
|
||
|
remarkable: { breaks: false },
|
||
|
paperFormat: 'Letter',
|
||
|
}
|
||
|
|
||
|
fs.createReadStream("fusee_gelee.md")
|
||
|
.pipe(markdownpdf(options))
|
||
|
.pipe(fs.createWriteStream("fusee_gelee.pdf"))
|
||
|
|