pdf-converter
Installation
SKILL.md
pdf-converter
Convert various file formats to PDF with proper CJK rendering and emoji support.
When to Use This Skill
Use this skill when the user needs to:
- Convert Markdown (
.md) to PDF while preserving formatting, emoji, and Chinese text - Convert HTML (
.htm,.html) to PDF - Convert plain text (
.txt) to PDF - Convert images (
.png,.jpg,.jpeg,.gif,.bmp,.webp) to PDF, including multi-image merge - Convert any pandoc-supported format (
.rst,.org,.latex, etc.) to PDF
Workflow
Step 1: Prepare the input file
Make sure the input file exists and is readable. If the user provides content directly, save it to a temporary file first.