Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 329 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 329 Bytes

Markdown to PDFmake.js

This library takes a markdown string and translates it into the structure required by the PDFmake.js library.

An example:

const markdownToPdfmake = require('markdown-to-pdfmake');
markdownToPdfmake('**This is bold text**') === [{ text: 'This is bold text', bold: true }]