node package manager



A window.document.body Markdown to HTML converter with CSS styling and syntax highlighing support of highlight.js.

Create a Document

Install m2d with npm:

npm install m2d -g

Create a new document:

m2d new doc

This will create a doc folder, install m2d using bower and copy the basic template to it.


Write your markdown into the HTML body and have it converted to HTML automatically. Style using css and convert to pdf using the print dialog.