marcel-hofer / markdown-document

Converts markdown files to PDF documents using HTML templates.
https://marcel-hofer.github.io/markdown-document/
MIT License
3 stars 2 forks source link

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
  2. Create your document

    echo # My first markdown-document > document.md
  3. (Optional) configure document properties using document.json

  4. Build PDF file:

    ./node_-_modules/.bin/markdown-document

Using yarn

  1. Install markdown-document using the following command:

    yarn add markdown-document --save
  2. Create your document

    echo # My first markdown-document > document.md
  3. (Optional) configure document properties using document.json

  4. Build PDF file:

    yarn markdown-document generate

Documentation

See the docs directory for detailed documentation.

License

MIT