← All repos

markdown-pdf

:page_facing_up: Markdown to PDF converter

convertermarkdownmdpdfpdf-generationtemplate
Browse cluster: Haskell tooling and libraries
178commits
21contributors
3languages

Tech stack & purpose

markdown-pdf is a Node module that converts Markdown files to PDFs. The tool first transforms Markdown into HTML, then embeds it into HTML5 Boilerplate's index.html template before rendering it to PDF using PhantomJS. Users can customize the PDF styling with optional CSS files and pre-process Markdown files using custom functions for templating purposes. The project was created by Alan Shaw and supports various configuration options including paper formats, orientations, borders, headers, footers, and integration with the Remarkable markdown parser and highlight.js for code syntax highlighting.

Languages

JavaScript
58.6%
HTML
21.2%
CSS
20.2%

Contributors