pdf_export
Convert markdown project files into a print-ready HTML document with a cover page and styled sections. Open in any browser and use print-to-PDF to export professional artifacts like PRDs, playbooks, and reports.
Instructions
Export project artifacts as a professional, print-ready HTML document. Converts one or more markdown files into styled HTML with a cover page, section headers, and @media print rules. Users open the HTML in a browser and use Cmd+P / Ctrl+P to save as PDF. Supports any markdown file in the project (PRDs, playbook, design briefs, reports). Saves the HTML to rc-method/exports/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Relative paths of files to export (e.g. ["rc-method/prds/PRD-myapp.md", "rc-method/PLAYBOOK-myapp.md"]). If omitted, exports the playbook if it exists, or all PRDs. | |
| title | No | Document title (defaults to project directory name) | |
| subtitle | No | Document subtitle | |
| project_path | Yes | Absolute path to the project directory |