AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

PDF Creator

Converts markdown to print- or mobile-ready PDFs with CJK-safe fonts, a theme system, and mandatory page-by-page visual verification.

Docs & OfficeIntermediate★ 1,323⑂ 212AI score 9/10Last updated: Aug 8, 2026

What it does

  • Turns markdown into A4 print PDFs or narrow 148×210mm mobile PDFs via scripts/md_to_pdf.py.
  • Ships five theme CSS files (default, cjk-auto, warm-terra, warm-terra-menu, mobile); new themes are just a copied CSS file.
  • Auto-picks the backend by content: Chrome for CJK text (avoids the PingFang CID Type 0C bug that blanks glyphs in macOS Preview/Adobe), weasyprint otherwise.
  • Injects a CJK typography CSS patch (fixed table layout, word-break: keep-all) without touching your markdown or theme files.
  • After rendering, exports per-page PNGs with pdftoppm and runs a typography lint so silent failures (collapsed paragraphs, overflowing tables, missing glyphs) get caught.
  • Batch conversion with scripts/batch_convert.py and automatic suppression of Chrome's default header/footer.

Who it's for

  • Anyone drafting reports, contracts, or course material in markdown who needs a polished PDF to send out.
  • Teams working with Chinese/Japanese/Korean text that keeps breaking in generated PDFs.
  • People who need both a printable version and a phone-friendly version of the same doc.

Examples

  1. "Make a PDF of this workshop outline" → renders with warm-terra, then reads each page PNG to confirm tables fit.
  2. "I need it readable on my phone" → --theme mobile for a 148mm page, 15px font, 1.9 line-height.
  3. "Convert every markdown file in this folder" → batch_convert.py *.md --theme warm-terra --output-dir ./pdfs --no-preview.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-docs/pdf-creator/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the daymade-docs/pdf-creator folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/pdf-creator/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-docs/pdf-creator ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/daymade/claude-code-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r claude-code-skills/daymade-docs/pdf-creator ~/.claude/skills/
  5. Install dependencies: brew install poppler on macOS (for page previews), plus pip install weasyprint or have Google Chrome installed.
  6. Restart Claude Code and ask something like "convert this markdown to PDF" — the skill triggers automatically.
  7. If non-Latin characters render as boxes, edit the font-family chain in the relevant file under themes/ to include a font installed on your system.