md2pdf

Convert Markdown documents into PDF files using Node.js, marked, and puppeteer-core.

18|4|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/kaiye/skills --skill md2pdf-kaiye
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md2pdf
Source: https://github.com/kaiye/skills/tree/main/md2pdf
Command: npx skills add https://github.com/kaiye/skills --skill md2pdf-kaiye

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires marked, puppeteer-core, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of transforming Markdown documents into polished PDF files, enabling quick and reliable report or documentation generation.

Core Features & Use Cases

  • Markdown to PDF Conversion: Render Markdown content as professionally formatted PDFs suitable for printing or sharing.
  • Custom Layouts: Support for landscape or portrait orientation and adjustable margins for diverse formatting needs.
  • Use Case: For example, generate a PDF version of a technical report written in Markdown to distribute to clients or print as a physical document.

Quick Start

Use the md2pdf skill to convert your Markdown report into a printable PDF without needing manual formatting.

Frequently Asked Questions about md2pdf

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

FAQPage Schema
How do I convert Markdown to PDF for a technical report?

You can convert Markdown to PDF by automating the rendering process with Node.js, marked, and puppeteer-core, which transforms your documents into professionally formatted files suitable for reports and documentation.

Can I adjust page margins and orientation when converting Markdown to PDF?

Yes, converting Markdown to PDF supports custom layouts including adjustable margins and landscape or portrait orientation, allowing you to format technical reports and documentation for diverse printing and sharing needs.

Do I need Node.js and Puppeteer to render Markdown into a PDF file?

Yes, rendering Markdown into a PDF file requires Node.js, marked, and puppeteer-core, which are used to process the HTML rendering and generate the final PDF output without manual formatting.

What is the best way to automate Markdown to PDF conversion for project documentation?

The best way to automate Markdown to PDF conversion for project documentation is using this Skill, which streamlines transforming Markdown documents into polished, high-quality PDF files effortlessly without manual formatting.

Does Markdown to PDF rendering support custom layouts for printable reports?

Markdown to PDF rendering supports custom layouts for printable reports by allowing you to specify portrait or landscape orientation and adjust margins to meet diverse formatting requirements for your deliverables.