3 releases
0.1.2 | Jun 27, 2023 |
---|---|
0.1.1 | Jun 26, 2023 |
0.1.0 | Jun 23, 2023 |
#1932 in Text processing
24 downloads per month
1.5MB
1.5K
SLoC
p4d-mdproof
Note: This is a fork of leroycep/mdproof
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.
Features
- No dependency on LaTeX or any other executable
- Lists, code blocks, regular text, bold text, and italic text!
- The complete commonmark spec is still being implemented!
Screenshots
Installation
$ git clone https://github.com/Geemili/mdproof
$ cd mdproof
$ cargo build
Usage
$ cargo run README.md
$
$ # Or if you've copied `mdproof` to your `~/bin` folder
$ mdproof README.md
Why?
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.
Dependencies
~31MB
~321K SLoC