Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

pdfify-node

2.4.4 • Public • Published

pdfify-node

Build Status Greenkeeper badge Known Vulnerabilities NPM version XO code style styled with prettier

Convert markdown files to PDF.

Install

$ npm install --global pdfify-node

Requires Node.js 6+.

Usage

Usage
  $ pdfify <source> [<destination>] [options]
 
Options
  --debug   When this is set the intermediate HTML will be saved into a file.
  --header  A full path to a the Handlebars (.hbs|.html) file which will be your header.
  --height  The height of the header section in mm. Might take some fiddling to get just right.
  --open    Open the generated PDF.
  --style   A full path to a single css stylesheet which is applied last to the PDF.
 
Examples
  $ pdfify foo.md
  $ pdfify foo.md foo.pdf --header header.hbs --height 42 --style style.css

License license

MIT © Stefan Stölzle

Keywords

none

install

npm i pdfify-node

Downloadsweekly downloads

19

version

2.4.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability