Remarkable PDFMake Plugin
A Remarkable plugin that converts Markdown to PDFMake arguments.
Install
$ npm install --save remarkable_pdfmake
Example
const fs = PdfPrinter = Remarkable = remarkablePdfMake = ; remarkable = printer = Helvetica: normal: 'Helvetica' bold: 'Helvetica-Bold' italics: 'Helvetica-Oblique' bolditalics: 'Helvetica-BoldOblique' file = '/tmp/markdown.pdf' md = 'Here we have some Markdown that is **bold** and some *italic* or even _**italibold**_.' 'Here\'s a [link to Google!](http://google.com)' '' `You can embed relative images or data URIs: ![Alt text is ignored]()` remarkable; let promise parsed writeStream pdfDoc; parsed = remarkable; writeStream = fs; pdfDoc = printer; pdfDoc;pdfDoc;
Limitations
Does not parse lists or tables.
Testing
$ npm install && npm test