---
title: "md-to-pdf"
description: "Convert Markdown files with Mermaid diagrams to PDF using a browser renderer."
canonical: https://agentpluginsdirectory.com/plugins/md-to-pdf
last-updated: 2026-11-13
---

# md-to-pdf
Convert Markdown files with Mermaid diagrams to PDF using a browser renderer.
## Package we checked
plugin.json sits at the package root in MiguelElGallo/md-to-pdf, which is the plugin directory the 1.0.0 spec describes. Its $schema is https://agent-plugins.org/schemas/1.0.0/plugin.schema.json. The manifest lists 1 skill (convert-to-pdf) and 1 MCP server (md-to-pdf). Stored mcp.json transports: md-to-pdf stdio.
- Slug: md-to-pdf
- Publisher: MiguelElGallo
- Repository: https://github.com/MiguelElGallo/md-to-pdf
- Manifest: plugin.json
- Version: 0.7.1
- License: MIT
- Category (editorial): documentation
- Skills: 1 (convert-to-pdf)
- MCP servers: 1 (md-to-pdf)
- Stars: 0
- Repository created: 2026-07-03
- Repository last pushed: 2026-11-03
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/md-to-pdf
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What md-to-pdf does, in the publisher's words

Convert Markdown to PDF with Mermaid diagrams using Chrome, Chromium, or Edge.

This repository is an Agent Plugins 1.0.0-compliant package.

For Codex CLI, add the repository marketplace and install md-to-pdf:

- Install Python 3 and Chrome, Chromium, or Edge.
- In VS Code, run Chat: Install Plugin From Source from the Command Palette.
- Enter https://github.com/MiguelElGallo/md-to-pdf.
- Chrome, Chromium, or Microsoft Edge
- Internet access for Mermaid by default; use --mermaid-js for offline rendering
- Rust and Cargo only when building from source

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/MiguelElGallo/md-to-pdf/HEAD/README.md

## Skills

- convert-to-pdf: Convert a Markdown file (with optional Mermaid diagrams) to a PDF document using a headless browser renderer.

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- md-to-pdf: transport: stdio; command: python3 ${PLUGIN_ROOT}/mcp_server/server.py

Read from the plugin's own mcp.json. Environment variable names only, never values.
