·md-to-pdf

Convert Markdown files to professionally styled PDF documents with full support for Mermaid diagrams, LaTeX/KaTeX math equations, tables, syntax-highlighted code blocks, and all standard Markdown features. Use this skill whenever the user wants to convert a .md file to .pdf, generate a PDF report from Markdown, or produce print-ready documents from Markdown sources containing diagrams, math, or complex formatting. Trigger phrases include: "convert markdown to pdf", "make a pdf from this md", "render this markdown", "export markdown as pdf", "markdown to pdf with diagrams", "pdf from markdown with equations", "generate a pdf report", "how do I export markdown as PDF", "convert my notes to PDF", "can you make a PDF from this markdown".

17Installs·2Trend·@mathews-tom

Installation

$npx skills add https://github.com/mathews-tom/praxis-skills --skill md-to-pdf

How to Install md-to-pdf

Quickly install md-to-pdf AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/mathews-tom/praxis-skills --skill md-to-pdf
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: mathews-tom/praxis-skills.

SKILL.md

View raw

Converts Markdown files to professionally styled PDFs with full rendering of Mermaid diagrams, LaTeX math (via KaTeX), tables, syntax-highlighted code blocks, and all standard Markdown features.

| Mermaid diagrams | mmdc (mermaid-cli) via Puppeteer | flowchart, sequence, class, state, ER, gantt, pie, git, mindmap, etc. | | LaTeX math (inline) | KaTeX server-side | $E=mc^2$ syntax | | LaTeX math (display) | KaTeX server-side | $$\int f(x) dx$$ syntax | | Tables | pandoc + CSS | Full GFM pipe-table support with professional styling |

| Code blocks | pandoc + CSS | Syntax highlighting via pandoc, monospace styling | | Images | pandoc + Playwright | Local file:// and remote https:// images | | Links | pandoc | Rendered as styled text | | Lists / blockquotes | pandoc | Ordered, unordered, nested, blockquotes | | YAML frontmatter | pandoc | title used as PDF title metadata |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/mathews-tom/praxis-skills --skill md-to-pdf
Category
#Documents
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from mathews-tom/praxis-skills

Quick answers

What is md-to-pdf?

Convert Markdown files to professionally styled PDF documents with full support for Mermaid diagrams, LaTeX/KaTeX math equations, tables, syntax-highlighted code blocks, and all standard Markdown features. Use this skill whenever the user wants to convert a .md file to .pdf, generate a PDF report from Markdown, or produce print-ready documents from Markdown sources containing diagrams, math, or complex formatting. Trigger phrases include: "convert markdown to pdf", "make a pdf from this md", "render this markdown", "export markdown as pdf", "markdown to pdf with diagrams", "pdf from markdown with equations", "generate a pdf report", "how do I export markdown as PDF", "convert my notes to PDF", "can you make a PDF from this markdown". Source: mathews-tom/praxis-skills.

How do I install md-to-pdf?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/mathews-tom/praxis-skills --skill md-to-pdf Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/mathews-tom/praxis-skills