make-pdf

Convert Markdown files to PDF with custom layouts and formatting.

34|6|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/thanh-abaii/gstack-windows-port --skill make-pdf-thanh-abaii
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: make-pdf
Source: https://github.com/thanh-abaii/gstack-windows-port/tree/main/skills/gstack-make-pdf
Command: npx skills add https://github.com/thanh-abaii/gstack-windows-port --skill make-pdf-thanh-abaii

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdftk, python, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the challenge of converting Markdown files into high-quality PDF documents with advanced formatting options.

Core Features & Use Cases

  • Markdown to PDF Conversion: Converts Markdown files into PDFs with professional formatting, including page numbers, headers, and footers.
  • Custom Layouts: Offers options for customizing page margins, size, cover pages, and table of contents.
  • Watermarks: Allows adding watermarks such as "DRAFT" or "CONFIDENTIAL" for sensitive documents.
  • Preview: Provides a quick preview of the PDF in the browser before finalizing it.
  • Use Case: Ideal for generating polished documents like reports, proposals, and manuals from Markdown files.

Quick Start

To convert a Markdown file to a PDF, use the command: $P generate input.md output.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 custom layouts and watermarks?

You can convert Markdown to PDF with custom layouts, margins, and watermarks using PowerShell and Python scripts for processing. This approach supports adding headers, footers, and cover pages to generate professional-quality documents.

Can I generate a PDF from Markdown on Windows 11?

Yes, you can generate a PDF from Markdown on Windows 11 using PowerShell and Python scripts for processing. The workflow requires pdftk or a similar tool installed to handle the final PDF generation step.

Do I need Python and pdftk to convert Markdown files to PDF format?

Yes, you need Python and pdftk to convert Markdown files to PDF format. Python scripts process the Markdown and apply custom formatting, while pdftk performs the final PDF generation and assembly.

What is the best way to add page numbers and headers when converting Markdown to PDF?

The best way to add page numbers and headers during Markdown to PDF conversion is to use custom layout options built into the processing scripts. These formatting features are applied automatically during the document generation phase.

Can I preview a PDF in the browser before finalizing the Markdown conversion?

Yes, you can preview the generated PDF in your browser before finalizing the Markdown conversion. This allows you to verify custom layouts, watermarks, and formatting options before outputting the final document.

Does Markdown to PDF conversion support adding watermarks like DRAFT or CONFIDENTIAL?

Yes, Markdown to PDF conversion supports adding watermarks like DRAFT or CONFIDENTIAL. This feature is ideal for marking sensitive documents or drafts during the formatting and generation process.