md-to-pdf

Convert markdown and structured data files into PDFs using local Chrome.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/MikkoNumminen/mikkonumminen.dev --skill md-to-pdf-mikkonumminen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md-to-pdf
Source: https://github.com/MikkoNumminen/mikkonumminen.dev/tree/main/.claude/skills/md-to-pdf
Command: npx skills add https://github.com/MikkoNumminen/mikkonumminen.dev --skill md-to-pdf-mikkonumminen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill eliminates the need for heavy dependencies like Puppeteer or Playwright by leveraging your local Chrome installation to render high-quality, styled PDFs from markdown or structured data files.

Core Features & Use Cases

  • Zero-Dependency Rendering: Uses your system Chrome to generate PDFs, avoiding large node_modules bundles.
  • Customizable Styling: Supports per-document CSS and page layout configuration (A4, margins, orientation) directly within the HTML template.
  • Use Case: Perfect for generating professional audit reports, project briefs, or skill registry snapshots from markdown source files without leaving your local environment.

Quick Start

Use the md-to-pdf skill to convert the file located at docs/report.md into a landscape PDF saved at output/report.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 local Chrome?

To convert markdown to PDF, this skill leverages your local Chrome or Chromium installation to execute headless print-to-pdf operations, rendering the markdown file directly into a formatted PDF document without requiring heavy browser automation dependencies.

Can I generate styled PDF reports from markdown without Puppeteer or Playwright?

You can generate styled PDF reports without Puppeteer or Playwright by using your system's existing Chrome installation to render the documents, effectively avoiding large node_modules bundles and eliminating the need for those specific browser automation dependencies.

Does md-to-pdf support custom CSS styling and page layout configurations?

Yes, md-to-pdf supports custom CSS styling and page layout configurations such as A4 page size, margins, and orientation, allowing you to directly format professional audit reports and project briefs within the HTML template.

What is the best way to automate PDF reporting from structured data files locally?

The best way to automate local PDF reporting is to convert structured data files or markdown sources into formatted PDFs using local Chrome, producing professional project documentation and audit reports directly within your local environment.

Do I need a specific browser installed to render PDFs from markdown?

Yes, you need a local Chrome or Chromium installation installed on your system, as the skill requires this browser to execute the headless print-to-pdf operations necessary for rendering the final styled PDF document.

Why use local Chrome for markdown to PDF conversion instead of other automation libraries?

Using local Chrome for markdown to PDF conversion eliminates the need for heavy dependencies like Puppeteer or Playwright, providing zero-dependency rendering by leveraging your existing browser to produce high-quality, styled PDF outputs.