/md-to-pdf-cjk:md-to-pdf-cjkfrom Markdown转PDF(CJK)
Convert Markdown files to professional PDF documents with full CJK (Chinese/Japanese/Korean) support. Uses reportlab for reliable rendering without external dependencies like wkhtmltopdf or LaTeX.
Ships in Markdown转PDF(CJK). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Convert Markdown to professional PDFs with full Chinese/Japanese/Korean text support.
Most Markdown-to-PDF tools break on CJK characters, require LaTeX, or need heavy dependencies. This skill uses reportlab for lightweight, reliable PDF generation that works on any server — including 2GB RAM VPS instances.
python3 {baseDir}/scripts/md_to_pdf.py input.md "Document Title" output.pdf
# H1 through #### H4 headings**bold** and *italic*- bullet lists (nested supported)| table | rows | (pipe-delimited tables)`inline code` and code blocks--- horizontal rulespip3 install reportlab
The script auto-detects CJK fonts in common locations:
/usr/share/fonts/ (Linux)/System/Library/Fonts/ (macOS)If no CJK font is found, it falls back to Helvetica (CJK characters will not render). Install a CJK font:
# RHEL/CentOS/Alibaba Cloud Linux
sudo yum install -y google-noto-sans-cjk-ttc-fonts
# Ubuntu/Debian
sudo apt install -y fonts-noto-cjk
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tunoc2c/workbuddy-skill-official --plugin md-to-pdf-cjk