Transforms Markdown files into professionally styled PDFs with contemporary typography and syntax-highlighted code blocks.
Sponsored
Md2pdf is a versatile tool designed to convert Markdown documents into elegant, print-ready PDFs. It offers both a powerful command-line interface for direct file conversions and integrates seamlessly as a Model Context Protocol (MCP) server for AI clients like Claude. This allows users to leverage natural language prompts to generate PDFs from existing files or directly from conversational Markdown content, complete with configurable styling options such as page size, margins, and optional page numbering.
Key Features
010 GitHub stars
02Syntax-highlighted code blocks
03Optional page numbering
04Properly styled tables, blockquotes, and lists
05Configurable page size and margins
06Clean, contemporary typography with Inter font family
Use Cases
01Convert local Markdown files to PDF via command line
02Generate styled PDF reports with specific page formats and margins
03Instruct AI assistants (like Claude) to render conversational Markdown or existing files as PDFs