pkg.soopen package index

brew / rank 3281

Install md2pdf with Homebrew, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install md2pdf

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#md2pdf

nixpkgs package indexes · pkgs/by-name/md/md2pdf/package.nix · source: api.github.com

overview

Package summary

CLI utility that generates PDF from Markdown

Commands and aliases

  • md2pdf

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2018: The public md2pdf repository is created.
  • 2023: The v1.3 release line is tagged.
  • 2025: The v2.2 release line reaches v2.2.18 under the solworktech organization.

Related projects

  • The official README identifies gomarkdown/markdown as the parser, go-pdf/fpdf as the PDF generator, and gohighlight as the syntax-highlighting component.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
md2pdfcliglobal executable

freshness

Version and 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.

page generated2026-08-04
manager version2.2.19
manager updated2026-07-31
local dataok
upstreamcurrent
latest detectedv2.2.19

https://github.com/solworktech/md2pdf

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:md2pdf
Version2.2.19
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/md2pdf
Homepagehttps://github.com/solworktech/md2pdf
Repositoryhttps://github.com/solworktech/md2pdf
LicenseMIT
Source archivehttps://github.com/solworktech/md2pdf/archive/refs/tags/v2.2.19.tar.gz
Last updated2026-07-31T19:04:26Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemd2pdf
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

md2pdf

nix profile install nixpkgs#md2pdf
  • normalized package name match
  • Matched by: Md2pdf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/md/md2pdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation