make-pdf

Convert markdown files to PDF documents with cover pages and tables of contents.

1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/greencm/gstuck --skill make-pdf-greencm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: make-pdf
Source: https://github.com/greencm/gstuck/tree/main/output/gstack/make-pdf
Command: npx skills add https://github.com/greencm/gstuck --skill make-pdf-greencm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf2image, pdfjs-dist, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of converting markdown files into publication-quality PDFs, offering a streamlined, one-step solution for document conversion.

Core Features & Use Cases

  • Markdown to PDF Conversion: Convert markdown documents into PDFs with customizable layout options.
  • Custom Layouts: Utilize cover pages, TOC, and branding options like watermarks and headers.
  • Fast Iteration: Preview markdown in the browser for quick iteration before generating the PDF.
  • Use Case: Suppose you have a complex markdown document with code snippets and diagrams. Use this Skill to generate a PDF with a cover page, TOC, and clickable links for easy navigation.

Quick Start

Generate a PDF from the markdown file 'report.md' with a cover page and TOC using the following command: ./make-pdf generate --cover --toc report.md report.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 PDF with a table of contents and cover page?

To convert markdown to PDF with custom layouts, you can use a generation tool like Paged.js to process the document and apply a cover page, clickable table of contents, and branding elements in a single command.

What is the best way to generate a professional-quality PDF from a markdown document?

Generating a professional-quality PDF from markdown requires a conversion tool that supports complex layouts, allowing you to transform technical documentation, code snippets, and diagrams into a formatted publication with custom branding.

Do I need Paged.js to convert markdown files into publication-quality PDFs?

Yes, converting markdown files into publication-quality PDFs requires a PDF generation tool like Paged.js to handle the complex formatting, custom layouts, and cover pages needed for professional reports.

Can I preview markdown in the browser before generating the final PDF document?

Yes, you can preview markdown in the browser to iterate quickly on formatting and layout before executing the final PDF generation step to ensure the document meets your publication standards.

Does make-pdf support custom branding like watermarks and headers for technical documentation?

Yes, converting markdown to PDF supports custom branding options including watermarks and headers, making it suitable for formatting technical documentation and presentation design into a professional document.

Why does my markdown to PDF conversion fail on complex layouts and tables of contents?

Markdown to PDF conversion for complex layouts requires a capable generation tool like Paged.js to properly render tables of contents and custom formatting; basic converters often lack the necessary layout engine support.