0.2.1 • Published 9 years ago

markdown2pdf v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Markdown to PDF

Convert markdown to rendered (by phantom) PDF file.

NPM version Deps Up to Date

Install

A global available phantomjs(>=1.8.1) is required, or you need to download one and add its path to PATH variable.

$ phantomjs -v # Ensure that phantomjs is available
$ npm i markdown2pdf -g

Usage

$ m2p <markdown file> [pdf file name]

Hmm, not so customizable by now..

For example

$ m2p readme.md
$ m2p readme.md intro.pdf

License

MIT

Acknowledgement

https://github.com/marcbachmann/node-html-pdf/