Another Japan in the World

Jun Aruga's blog.

Convert Markdown file to PDF file on Mac (2)

Previously I used markdown-pdf. But I found another tool to convert GitHub style PDF mdpdf [1]. And I would prefer it.



$ npm install mdpdf
$ which mdpdf


$ mdpdf

README.pdf is created on the same directory with

Atom plugin markdown-pdf

This tool is also cool. The Atom [2] plugin [3] to convert markdown to PDF.

Install markdown-pdf plugin from Atom editor. Then select menu: Packages -> Markdown to PDF -> Convert in a markdown file.