with one click
md-to-pdf
Convert Markdown to PDF via Pandoc with two rendering engines.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Convert Markdown to PDF via Pandoc with two rendering engines.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Build applications powered by GitHub Copilot using the Copilot SDK — session management, custom tools, streaming, hooks, MCP servers, BYOK, deployment patterns
CI/CD pipelines, infrastructure as code, and deployment automation for Azure workloads
Domain: DevOps & Cloud Engineering
Convert Word documents (.docx) to clean Markdown with image extraction and pandoc cleanup
Convert Markdown to RFC 5322 email (.eml) with inline CSS and CID images
Convert Markdown to EPUB 3 e-books via Pandoc.
| type | skill |
| lifecycle | stable |
| inheritance | inheritable |
| name | md-to-pdf |
| description | Convert Markdown to PDF via Pandoc with two rendering engines. |
| tier | standard |
| applyTo | **/*pdf* |
| currency | "2026-04-30T00:00:00.000Z" |
| lastReviewed | "2026-04-30T00:00:00.000Z" |
Convert Markdown to PDF via Pandoc with two rendering engines.
md-to-pdf.cjs — Node script that wraps Pandoc.
node (≥ 16)pandoc (≥ 3.0) on PATHlualatex / TeX Live (high-quality typography, slower)wkhtmltopdf (HTML route, faster, less precise)node md-to-pdf.cjs input.md
node md-to-pdf.cjs input.md --engine lualatex
node md-to-pdf.cjs input.md --engine wkhtmltopdf
node md-to-pdf.cjs input.md --output custom.pdf
The script auto-detects available engines if --engine is omitted, preferring lualatex when present.
YAML frontmatter is forwarded to Pandoc. Useful keys:
---
title: My Document
author: Your Name
date: 2026-04-28
toc: true
geometry: margin=1in
---
--highlight-stylemd-to-html → wkhtmltopdf is roughly equivalent to the HTML engine