md2pdf-export

Community

Render Markdown to print-ready PDF and images.

Authorwentorai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the hassle of manually formatting and exporting Markdown so you can reliably generate print-ready documents (PDF) and high-quality page images (PNG/JPEG) that look like a real Markdown preview.

Core Features & Use Cases

  • Markdown → WYSIWYG HTML rendering: Converts Markdown into a fully styled HTML document that matches a Markdown Preview Enhanced-style pipeline.
  • Headless Chrome export (PDF/PNG/JPEG): Uses Puppeteer to export the rendered HTML into PDF or screenshots with consistent layout and typography.
  • Math, code highlighting, and structured content: Supports KaTeX math rendering, syntax highlighting, footnotes, and table-of-contents generation.
  • Front-matter configuration: Lets you control rendering, paper settings, margins, themes, header/footer templates, and screenshot parameters directly inside the Markdown file.
  • Use Case: Turn lab notes or a draft paper written in Markdown into a publication-ready PDF with the correct page size, margins, and optional header/footer page numbers.

Quick Start

Tell the Skill to export your Markdown file to a PDF using headless Chrome rendering for WYSIWYG output, for example by running the converter on your input file.

Dependency Matrix

Required Modules

gray-matterkatexmarkdown-itmarkdown-it-anchormarkdown-it-footnotemarkdown-it-highlightjsmarkdown-it-texmathmarkdown-it-toc-done-rightpuppeteerfspath

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: md2pdf-export
Download link: https://github.com/wentorai/Research-Claw/archive/main.zip#md2pdf-export

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.