--- id: AIDotNet/MoYuCode/pdf-generator version: "e312ab3c" license: MIT install: manual updated: 2026-01-28 --- # pdf-generator — PDF Generator transforms HTML, Markdown, and text content into polished PDF documents with full control over styling, templates, and page configuration. Works with Codex and Claude Code for seamless document export workflows. Publisher: AIDotNet · Stars: 84 · Updated: 2026-01-28 Install (manual): `git clone https://github.com/AIDotNet/MoYuCode` ## SKILL.md # PDF Generator Tool ## Description Generate PDF documents from HTML, Markdown, or text with customizable styling and layout. ## Trigger - `/generate-pdf` command - User requests PDF generation - User needs to export document as PDF ## Usage ```bash # Generate PDF from Markdown python scripts/generate_pdf.py --input "document.md" --output "document.pdf" # Generate PDF from HTML python scripts/generate_pdf.py --input "report.html" --output "report.pdf" --format html # Generate PDF with custom options python scripts/generate_pdf.py --input "doc.md" --output "doc.pdf" --title "My Report" --author "John" --page-size A4 ``` ## Tags `pdf`, `document`, `export`, `markdown`, `html` ## Compatibility - Codex: ✅ - Claude Code: ✅ [View on SkillFed](https://skillfed.io/AIDotNet/MoYuCode/pdf-generator) · [View on GitHub](https://github.com/AIDotNet/MoYuCode)