# Markdown PDF

> Use this skill when the user wants to convert Markdown documents to PDF with syntax highlighting, custom CSS, and professional typography.

- Skill: `javimosch/markdown-pdf` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/markdown-pdf`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/markdown-pdf/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Design & Media
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/markdown-pdf

---


# markdown-pdf Plugin

markdown-pdf converts Markdown files to PDFs using Electron-based rendering. Supports custom CSS, syntax highlighting, headers/footers, and multiple page sizes.

## Commands

- `markdown-pdf _ _ <args>` — Passthrough

## Usage Examples

- "convert README.md to PDF"
- "convert multiple markdown files to a single PDF"
- "apply custom stylesheet during PDF generation"
- "generate PDF with page numbers in the footer"

## Installation

```bash
npm install -g markdown-pdf
```

## Key Features
- Markdown to PDF conversion with syntax highlighting
- Custom CSS stylesheet support
- Multiple page sizes (A4, Letter, etc.)
- Headers and footers support
- Page breaks configuration
- Table of contents generation
- Consistent cross-platform rendering
- Batch file processing

