Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs
I have always searched for a simple tool which can convert a MD document to a well styled small PDF, just like a GitHub Readme. This was inspired by TinyPDF https://news.ycombinator.com/item?id=46316968 I also used this project to get familiar with agentic coding, which I had dreaded before. mdpdf supports: - using the included PDF fonts to generate tiny valid PDFs - outputs as A4 or Letter depending on your locale - plenty of common MD syntax: code blocks, inline code, lists, tables, and jpg and png images That's it. It covers probably most of the use cases and can help to…
In plain words
Mdpdf is a lightweight command-line tool that converts Markdown documents to compact PDFs formatted like GitHub Readmes. Built as a 2,000-line C program, it generates minimal file sizes using embedded PDF fonts and supports common Markdown syntax including code blocks, lists, tables, and images. Output automatically adjusts to A4 or Letter page size based on locale. Intended for developers who need a simple way to convert Markdown write-ups into shareable PDFs without external dependencies.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
I have always searched for a simple tool which can convert a MD document to a well styled small PDF, just like a GitHub Readme. This was inspired by TinyPDF https://news.ycombinator.com/item?id=46316968 I also used this project to get familiar with agentic coding, which I had dreaded before. mdpdf supports: - using the included PDF fonts to generate tiny valid PDFs - outputs as A4 or Letter depending on your locale - plenty of common MD syntax: code blocks, inline code, lists, tables, and jpg and png images That's it. It covers probably most of the use cases and can help to simply convert a Markdown write-up to a PDF to share. GitHub: https://github.com/schicho/mdpdf A simple make call should build it for you.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, April 2026
the whole month →
- AG
Thought the resources for GPU arch were lacking, so here we are
Life & fun · Apr 2026 · jaso1024.com
- IB
Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food. Fork it and swap the personality for your own character.
AI · Apr 2026 · github.com

- BC
Life & fun · Apr 2026 · sam-burns.com
- IB
With social media and now AI, its important to keep the indie web alive. There are many people who write frequently. Blogosphere tries to highlight them by fetching the recent posts from personal blogs across many categories. There are two versions: Minimal (HN-inspired, fast, static): https://text.blogosphere.app/ Non-minimal: https://blogosphere.app/ If you don't find your blog (or your favorite ones), please add them. I will review and approve it.
AI · Apr 2026 · text.blogosphere.app