A standalone markdown to PDF converter
Switch branches/tags
Nothing to show
Clone or download
Geemili Use latest published version of printpdf
I used a local version of `printpdf` earlier so that it would play nice with
`failure` error handling. Perhaps I'll send a pull request adding `failure`
types to the `printpdf` errors, but I'm not sure that `failure` is going to be
the best error handling type forever.
Latest commit a3316b1 Sep 17, 2018



A command line program that generates PDFs from markdown files, with no dependency on LaTeX or a headless browser. Still a work in progress, use at your own risk.


  • No dependency on LaTeX or any other executable
  • Lists, code blocks, regular text, bold text, and italic text!


The readme rendered as a PDF


$ git clone https://github.com/Geemili/mdproof
$ cd mdproof
$ cargo build


$ cargo run README.md
$ # Or if you've copied `mdproof` to your `~/bin` folder
$ mdproof README.md


There are already a plethora of ways to generate PDFs, including LaTeX, headless browsers, or libreoffice. However, all of these methods pull in massive dependencies, and can be difficult to set up correctly.

By comparison, this program relies on only a few (direct) dependencies, and can be compiled into a single executable file.

The goal of this program is to compile markdown to pdf, without stepping through dependency hell.