文档办公

pdf-creator

daymade/claude-…e-skills

Converts Markdown to print-ready PDF with proper Chinese typography, themes and a visual self-check. Use for Markdown → PDF, including documents formatted for printing or mobile reading. Not for Word/WPS files or Word output (use docx-creator).

  • 1013 次安装
  • 1500 星标
  • 收录于

安装命令

npx skills add https://github.com/daymade/claude-code-skills --skill pdf-creator

SKILL.md

PDF Creator

Create professional PDF documents from markdown with Chinese font support and theme system.

For an existing .docx source, use docx-creator/references/word-to-pdf.md instead. Choose by the authoritative input as well as the output suffix.

When adapting a manufacturer PDF manual into a concise Chinese illustrated recipient guide, read the illustrated-manual workflow before drafting. Continue through this Skill's normal theme, backend and visual self-check requirements after assembling the Markdown source.

Quick Start

Every scripts/… path below is relative to this skill's own directory — run the commands from there, or substitute the absolute path. Running them from the directory holding your markdown fails with Failed to spawn: 'scripts/md_to_pdf.py'. Omitting the output path is allowed and derives it from the input's basename (input.md → input.pdf, in the input's directory).

Keep relative image paths relative to the input Markdown file's directory. The converter uses that directory for both backends, including when its temporary HTML and the command's working directory are elsewhere.