pinshu-md-to-pdf

Convert Markdown documents to PDFs with embedded Chinese fonts and design themes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/zhongjjm-design/claude-skills --skill pinshu-md-to-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinshu-md-to-pdf
Source: https://github.com/zhongjjm-design/claude-skills/tree/main/pinshu-md-to-pdf
Command: npx skills add https://github.com/zhongjjm-design/claude-skills --skill pinshu-md-to-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markdown2, weasyprint, and includes scripts (resource) components.

What problem does it solve?

Converting Markdown documents to polished, print-ready PDFs with proper Chinese font embedding and professional typography is technically complex and time-consuming, especially when specific design themes and iOS WeChat compatibility are required.

Core Features & Use Cases

  • Multi-Theme Templates: Choose from Kunlun (traditional Eastern), Business (dark geometric), Manual (green/orange/blue notes) styles for brand reports, training materials, technical docs, and cultural content.
  • Chinese Font Compatibility: Automatically embeds Songti SC fonts to ensure perfect rendering on WeChat iOS, iPhone Preview, and WPS without garbled text.
  • Smart Document Structure: Extracts metadata for covers, generates clickable two-column TOCs, handles chapter breaks, and applies Apple-style typography with syntax-highlighted code blocks.

Quick Start

Use the pinshu-md-to-pdf skill to convert your Markdown document to a professional PDF with your chosen theme.

Frequently Asked Questions about pinshu-md-to-pdf

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

FAQPage Schema
How do I convert Markdown to PDF without garbled Chinese fonts on iOS WeChat?

To convert Markdown to PDF without garbled Chinese text, this tool automatically embeds Songti SC fonts into the output. This ensures proper rendering and perfect compatibility across WeChat iOS, iPhone Preview, and WPS.

Can I apply professional typography themes when converting Markdown to PDF?

Yes, you can apply professional typography themes when converting Markdown to PDF. It offers Kunlun for traditional Eastern content, Business for dark geometric reports, and Manual for training notes.

How does a Markdown to PDF converter handle document structure and tables of contents?

A Markdown to PDF converter handles document structure by automatically extracting metadata for covers and generating clickable two-column tables of contents. It also manages chapter breaks and applies Apple-style typography.

Do I need WeasyPrint and markdown2 to generate print-ready PDFs from Markdown?

Yes, you need WeasyPrint and markdown2 installed to generate print-ready PDFs from Markdown. These libraries process the syntax highlighting and render the documents into professional output files.

What is the best way to create technical documentation PDFs from Markdown with syntax highlighting?

The best way to create technical documentation PDFs from Markdown is using a converter that supports syntax-highlighted code blocks and automatic chapter breaks. This produces print-ready outputs with Apple-style typography.

Why does my Markdown to PDF output lack proper styling for brand reports?

Your Markdown to PDF output lacks proper styling if it does not use design themes tailored for brand reports. Applying specialized templates ensures your documents have professional covers and structured layouts.