md-to-pdf

Convert Markdown files to PDF using Pandoc and wkhtmltopdf.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jeff-hamm/ai-tools --skill md-to-pdf-jeff-hamm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md-to-pdf
Source: https://github.com/jeff-hamm/ai-tools/tree/main/src/skills/md-to-pdf
Command: npx skills add https://github.com/jeff-hamm/ai-tools --skill md-to-pdf-jeff-hamm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converting Markdown content into fixed-layout PDFs so teams can share, print, or archive documents without relying on editors or browser-based renderers.

Core Features & Use Cases

  • Automated conversion using pandoc and a stable PDF engine.
  • Optional text-only export by temporarily removing image links.
  • Cross-platform support with PowerShell and shell-based workflows.

Quick Start

Provide the path to your .md file and optional output path, then run the skill to generate the PDF.

Frequently Asked Questions about md-to-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to PDF using pandoc and wkhtmltopdf?

To convert Markdown to PDF, provide the path to your .md file and an optional output path. The Skill coordinates pandoc and wkhtmltopdf to generate a stable, fixed-layout PDF document suitable for sharing or printing.

What is the best way to generate a text-only PDF from Markdown files?

Generating a text-only PDF from Markdown involves temporarily removing image links before processing. This Skill automates that export option alongside standard conversion to produce documents without embedded images.

Do I need pandoc and wkhtmltopdf installed to convert Markdown files to PDF?

Yes, you need pandoc and wkhtmltopdf installed to use this Skill. These dependencies drive the conversion process, requiring a simple script or command surface to coordinate the steps across your system.

Can I use this Markdown to PDF conversion tool on different operating systems?

Yes, you can use this Markdown to PDF conversion tool across different operating systems. It supports cross-platform workflows through both PowerShell and shell-based scripts to coordinate the document generation steps.

Why convert Markdown content into fixed-layout PDFs for archival workflows?

Converting Markdown content into fixed-layout PDFs ensures consistent layout for archival workflows. This allows teams to share, print, or archive documents without relying on specific editors or browser-based renderers.