BeClaude

md2pdf-skill

New
GitHub TrendingDocumentationby 1919chichi

Claude Code / Codex skill — 将 Markdown 文件转换为精美的 PDF 或 PNG 图片

First seen 5/22/2026

Summary

This skill converts Markdown files into polished PDF or PNG images, enabling developers to generate professional documentation, reports, or visual assets directly from their markdown content.

  • It streamlines the process of creating shareable, formatted outputs without manual conversion tools.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/md2pdf-skill.md https://raw.githubusercontent.com/1919chichi/md2pdf-skill/main/SKILL.md
3
Invoke in Claude Code
/md2pdf-skill

Use Cases

Generate a clean PDF of a project's README for client distribution.
Convert meeting notes from Markdown to PNG for easy sharing in chats.
Create a formatted PDF report from a collection of markdown documentation files.
Export a technical tutorial written in Markdown as a printable PDF.
Transform a markdown-based resume into a professional-looking PDF.
Produce high-resolution PNG images of code snippets or diagrams embedded in markdown.

Usage Examples

1

/md2pdf-skill convert README.md to pdf

2

Convert my notes.md to a PNG image with a light theme

3

/md2pdf-skill generate pdf from docs/*.md --output report.pdf

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is md2pdf-skill?

This skill converts Markdown files into polished PDF or PNG images, enabling developers to generate professional documentation, reports, or visual assets directly from their markdown content. It streamlines the process of creating shareable, formatted outputs without manual conversion tools.

How to install md2pdf-skill?

To install md2pdf-skill: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/md2pdf-skill.md https://raw.githubusercontent.com/1919chichi/md2pdf-skill/main/SKILL.md. Finally, /md2pdf-skill in Claude Code.

What is md2pdf-skill best for?

md2pdf-skill is a skill categorized under Documentation. Created by 1919chichi.

What can I use md2pdf-skill for?

md2pdf-skill is useful for: Generate a clean PDF of a project's README for client distribution.; Convert meeting notes from Markdown to PNG for easy sharing in chats.; Create a formatted PDF report from a collection of markdown documentation files.; Export a technical tutorial written in Markdown as a printable PDF.; Transform a markdown-based resume into a professional-looking PDF.; Produce high-resolution PNG images of code snippets or diagrams embedded in markdown..