Markdown to PDF with professional formatting control. Version 1.0.0
Every markdown to PDF tool out there is just awful. We want PDFs as beautiful as markdown viewers we use to generate source data. mdpdf uses headers and code inserts in markdown files to produce fantastic documents.
npm install
mdpdf document.md
# Output: document.pdf
mdpdf <input> [options]
-o, --output <path>
-c, --config <path>
--page-numbers / --no-page-numbers
--css <path>
-w, --watch
--watch-delay <ms>
---
title: "Quarterly Report"
subtitle: "Q1 2026 Results"
author: "Nathan"
date: 2026-03-06
toc: true
toc-depth: 2
page-numbers: true
---
# Executive Summary