markdown-document
Converts markdown files to PDF documents using HTML templates.
Getting started
Using npm
- Install
markdown-documentusing the following command:npm init npm install --save markdown-document - Create your document
echo # My first markdown-document > document.md - (Optional) configure document properties using
document.json - Build PDF file:
./node_-_modules/.bin/markdown-document
Using yarn
- Install
markdown-documentusing the following command:yarn add markdown-document --save - Create your document
echo # My first markdown-document > document.md - (Optional) configure document properties using
document.json - Build PDF file:
yarn markdown-document generate
Documentation
See the docs directory for detailed documentation.