markdown-to-pdf
is a simple server that converts markdown documents to pdf.
- convert markdown to pdf using marked and wkhtmltopdf
- with a beautiful style
- syntax highlighting for code blocks
- online editor: Ace
npm install
npm start
You can specify the port to run the server on by setting the environment variable PORT
(defaults to 3000).
You need to have wkhtmltopdf installed. If it is not in your PATH, you should set the environment variable
WKHTMLTOPDF_BIN to the path to the wkhtmltopdf binary.
BSD
A demo is available on heroku: markdown-to-pdf.herokuapp.com.