pdf-writer

Convert Markdown, JSON, or HTML inputs into multilingual PDFs with CJK support.

267|63|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/modu-ai/cowork-plugins --skill pdf-writer-modu-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-writer
Source: https://github.com/modu-ai/cowork-plugins/tree/main/moai-office/skills/pdf-writer
Command: npx skills add https://github.com/modu-ai/cowork-plugins --skill pdf-writer-modu-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, markdown, beautifulsoup4, lxml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables users to generate accurate, multiregional PDF documents in multiple languages without character corruption.

Core Features & Use Cases

  • Multilingual PDF Generation: Converts Markdown, JSON, or HTML inputs into PDFs supporting Korean, Japanese, Chinese, and English seamlessly.
  • Unicode and CJK Support: Ensures glyph coverage and no character tofu, suitable for official reports, technical documents, and multilingual manuals.
  • Use Case: Automate the creation of international product manuals or legal documents that require precise rendering of complex characters.

Quick Start

Use the pdf-writer skill to convert your Markdown report into a multi-language PDF using your existing document files.

Frequently Asked Questions about pdf-writer

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

FAQPage Schema
How do I generate multilingual PDFs from Markdown without character corruption?

To generate multilingual PDFs without character corruption, convert Markdown, JSON, or HTML inputs using pymupdf, markdown, and BeautifulSoup to accurately parse and render CJK glyphs.

Can I use Python to create PDFs that support Korean, Japanese, and Chinese characters?

Yes, you can create PDFs supporting Korean, Japanese, and Chinese characters by using Python with pymupdf and Noto Sans CJK fonts, ensuring perfect glyph rendering across Asian and Latin scripts.

What is the best way to convert HTML to a multi-language PDF in Python?

The best way to convert HTML to a multi-language PDF in Python is by parsing HTML with BeautifulSoup and lxml, then rendering the content through pymupdf to maintain high-fidelity Unicode text.

Does pymupdf support automated creation of international product manuals?

Yes, pymupdf supports automated creation of international product manuals by processing Markdown or HTML inputs to render complex technical and legal characters accurately across multiple languages.

Why do my Asian script characters show as tofu boxes when rendering PDFs?

Asian script characters show as tofu boxes when rendering PDFs due to missing Unicode glyph coverage; using Noto Sans CJK support ensures proper character rendering for Chinese, Japanese, and Korean text.

What dependencies do I need to render Unicode text in PDFs using Python?

To render Unicode text in PDFs using Python, you need the pymupdf, markdown, beautifulsoup4, and lxml dependencies to parse diverse input formats and ensure accurate multilingual glyph rendering.