Converts markdown files to PDF documents using HTML templates.
- Install
markdown-document
using 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
- Install
markdown-document
using 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
See the docs directory for detailed documentation.