Show HN: Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs
Category: cli-tool
Tags: markdown, pdf-generation, cli-tool
Score: 5.3/10 (Innovation: 3, Technical: 6, Documentation: 7, Utility: 5)
mdpdf is a lightweight C command-line tool that converts Markdown documents to PDF files using only standard PDF fonts to keep file sizes small. It's interesting because it implements a complete Markdown-to-PDF pipeline with image support in just 2k lines of C with minimal dependencies (only zlib), making it highly portable and efficient.
Target audience: backend devs, devops, technical writers
Repository: https://github.com/schicho/mdpdf · C · MIT · 7 stars
View on Hacker News