md-to-pdf
Installation
SKILL.md
Markdown to PDF
Convert one or more Markdown files to PDF. Supports Mermaid diagrams and Markdown tables.
Prerequisites
- Node.js v18+
Workflow
Phase 1: Parse Input
Goal: Identify which .md files to convert.
Actions:
- Extract .md file paths from the user's message
- Resolve each path to absolute path
- Verify each file exists using the Read tool
- If no paths provided, use AskUserQuestion to ask the user which files to convert