make-pdf

Convert Markdown files to PDF with custom layouts, watermarks, and table of contents.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Paged.js, markdown-it, pdf-lib, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the problem of converting Markdown files into professional-quality PDF documents, with features like customizable layouts, watermarks, and table of contents.

Core Features & Use Cases

  • Markdown to PDF Conversion: Transform Markdown files into PDFs with professional formatting options.
  • Custom Layouts: Customize margins, page size, and other layout settings.
  • Watermarks: Add watermarks like "DRAFT" to PDFs.
  • Table of Contents: Generate a clickable table of contents for easy navigation.
  • Use Case: When you need to share a document that is easier to read in PDF format, but want to retain the flexibility of Markdown.

Quick Start

To convert a Markdown file to a PDF, use the command: make-pdf 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 a table of contents?

To convert Markdown to PDF, use the make-pdf command to process the input file and generate an output PDF. It automatically renders the Markdown and creates a clickable table of contents for easy navigation.

Can I add a watermark like DRAFT when converting Markdown to PDF?

Yes, you can add watermarks like DRAFT to your PDF during the Markdown conversion process. The Skill processes the input Markdown and applies the specified watermark directly to the generated PDF document.

How do I customize page margins and layout for Markdown to PDF conversion?

You can customize page margins, page size, and other layout settings for Markdown to PDF conversion. The Skill utilizes Paged.js to process these custom layout configurations and generate the formatted PDF output.

Does Paged.js work well for generating PDFs from Markdown files?

Paged.js works effectively for generating PDFs from Markdown files by handling page layout and formatting. Combined with markdown-it for rendering, it processes the input Markdown to produce professional-quality PDF documents.

What is the best way to generate high-quality PDFs from Markdown documents?

The best way to generate high-quality PDFs from Markdown is using a conversion tool that supports custom layouts, watermarks, and tables of contents. This Skill leverages Paged.js and markdown-it to transform Markdown files into professional PDFs.

Why use Markdown for document formatting instead of editing PDFs directly?

Using Markdown for document formatting retains the flexibility of plain text while allowing easy conversion to professional PDFs. You can write in Markdown and then generate a formatted PDF with custom layouts, watermarks, and a table of contents for sharing.