md2pdf
« Back to VersTracker
Description:
CLI utility that generates PDF from Markdown
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: markdown pdf pandoc documentation cli
Install: brew install md2pdf
About:
Md2pdf is a command-line interface (CLI) utility designed to streamline the conversion of Markdown files into PDF documents. It leverages Pandoc and LaTeX under the hood to ensure high-quality typography and layout. This tool is ideal for developers and technical writers who need to generate professional reports or documentation from plain text.
Key Features:
  • Pandoc-powered conversion for robust formatting
  • Support for custom LaTeX templates
  • Batch processing of multiple files
  • CLI-based for easy automation and scripting
Use Cases:
  • Generating technical documentation or API references in PDF format
  • Creating automated reports from Markdown templates in CI/CD pipelines
  • Converting README files into printable handouts
Alternatives:
  • pandoc – Pandoc is the underlying engine; md2pdf provides a simplified wrapper specifically for Markdown-to-PDF workflows.
  • weasyprint – WeasyPrint renders HTML/CSS to PDF, often requiring an intermediate conversion step from Markdown.
Version History
Detected Version Rev Change Commit