markdown2pdf

0.2.1 • Public • Published

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/

Readme

Keywords

Package Sidebar

Install

npm i markdown2pdf

Weekly Downloads

12

Version

0.2.1

License

MIT

Last publish

Collaborators

  • dracupid