make-pdf

Convert Markdown into publication-ready PDFs using HTML, print CSS, and a headless browser.

Updated May 14, 2026
One-click install
npx skills add https://github.com/lemig/transcriptor --skill make-pdf-lemig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: make-pdf
Source: https://github.com/lemig/transcriptor/tree/main/.claude/skills/gstack/make-pdf
Command: npx skills add https://github.com/lemig/transcriptor --skill make-pdf-lemig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Markdown-to-PDF workflows often require manual formatting, repeated setup, and inconsistent results. This capability automates publication-quality PDF generation from Markdown, ensuring consistent margins, typography, and layout.

Core Features & Use Cases

  • Publication-ready PDFs with 1in margins, running headers, and a professional layout.
  • Optional cover pages, clickable TOC, and watermarking for drafts.
  • Preview HTML generation for fast iteration during authoring.

Quick Start

Turn this Markdown file into a publication-quality PDF.

Frequently Asked Questions about make-pdf

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

FAQPage Schema
How do I convert Markdown to a publication-quality PDF?

To convert Markdown to a publication-quality PDF, this tool renders HTML, applies precise print CSS, and uses a headless Chromium browser to generate a fixed-layout document with consistent margins and typography.

Can I add a clickable table of contents and cover page when generating a PDF from Markdown?

Yes, you can add a clickable table of contents and a cover page when generating a PDF from Markdown. The process also supports running headers and draft watermarking for end-to-end publishing workflows.

Do I need a headless browser to generate fixed-layout PDFs from Markdown?

Yes, you need a headless Chromium browser to generate fixed-layout PDFs from Markdown. The toolchain requires a local make-pdf binary, validated via setup, to render the HTML and apply print CSS correctly.

What is the best way to preview HTML before generating a print-ready PDF?

The best way to preview HTML before generating a print-ready PDF is using the preview HTML generation feature, which allows fast iteration during authoring before applying the final print CSS layout.

Why does my Markdown to PDF workflow produce inconsistent formatting?

Markdown to PDF workflows produce inconsistent formatting due to manual setup and varied rendering. Automating the process with precise print CSS and a headless browser ensures professional layout, fixed margins, and consistent typography.