Skip to content

marcel-hofer/markdown-document

Repository files navigation

markdown-document

Converts markdown files to PDF documents using HTML templates.

NPM Version NPM Downloads

Getting started

Using npm

  1. Install markdown-document using the following command:
npm init
npm install --save markdown-document
  1. Create your document
echo # My first markdown-document > document.md
  1. (Optional) configure document properties using document.json
  2. Build PDF file:
./node_-_modules/.bin/markdown-document

Using yarn

  1. Install markdown-document using the following command:
yarn add markdown-document --save
  1. Create your document
echo # My first markdown-document > document.md
  1. (Optional) configure document properties using document.json
  2. Build PDF file:
yarn markdown-document generate

Documentation

See the docs directory for detailed documentation.

License

MIT