Why this plugin exists
Agents often need to generate professional documents from markdown — reports, itineraries, documentation, or printable versions of travel research. This plugin provides a complete markdown-to-PDF conversion pipeline that runs entirely on the gateway host (no external services required). Workspace path resolution:/workspace/file.md automatically translates to the host’s workspace directory, making it seamless for agents to generate PDFs from their working files.
Installation
Install this tool individually:Configuration
Prerequisites
Config Examples
Basic setup (all defaults):Usage
/workspace/... → host workspace directory). Relative paths are resolved from the agent’s current working directory within the workspace.
Markdown Features Supported
Command Reference
Tool name:
markdown-pdf
Error Reference
Dependencies
- marked (^12.0.0): Markdown parser — converts markdown to HTML
- puppeteer (^22.0.0): Headless Chrome — renders HTML to PDF
