macOS
brew install md2pdflocal Homebrew formula metadata
brew / rank 3281
CLI utility that generates PDF from Markdown. Version 2.2.19 via Homebrew; verified 2026-07-31. Also installable with nix: nix profile install nixpkgs#md2pdf.
install
brew install md2pdflocal Homebrew formula metadata
nix profile install nixpkgs#md2pdfnixpkgs package indexes · pkgs/by-name/md/md2pdf/package.nix · source: api.github.com
overview
CLI utility that generates PDF from Markdown
history
md2pdf is a Go command-line utility that renders Markdown as PDF, with syntax highlighting, light and dark themes, custom themes, tables, generated tables of contents, pagination controls, footers, and non-Latin font support.
The public repository began in January 2018. Its tagged release line reached v1.3 in 2023, v2 in the following development period, and v2.2.18 in 2025; the v2.2.18 change also adjusted references after the project moved under the solworktech GitHub organization.
The official README supports three distribution paths: downloadable release binaries, installation with Go's module-aware go install command, and Homebrew. The supplied metadata additionally records a Nix package.
Users pass a Markdown file, a directory of Markdown files, an HTTP(S) URL, or standard input and select an output PDF. Options control page size and orientation, themes, fonts, syntax highlighting, generated contents, page breaks, and footer metadata.
md2pdf provides a single Go binary for document conversion and builds PDFs through gomarkdown and fpdf instead of requiring a browser-based rendering stack. That makes it attractive for shell scripts, CI jobs, and reproducible document toolchains.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
md2pdf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/solworktech/md2pdf
install metadata
| Package key | brew:md2pdf |
|---|---|
| Version | 2.2.19 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/md2pdf |
| Homepage | https://github.com/solworktech/md2pdf |
| Repository | https://github.com/solworktech/md2pdf |
| License | MIT |
| Source archive | https://github.com/solworktech/md2pdf/archive/refs/tags/v2.2.19.tar.gz |
| Last updated | 2026-07-31T19:04:26Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | md2pdf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
md2pdf
nix profile install nixpkgs#md2pdfsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.