Quickstart
First successful render
Install Chromium once, pick CLI or SDK, and export PDF/DOCX/PPTX with a built-in template.
CLI
- 1npm i -g @x12i/mdreports-cli
- 2npx playwright install chromium
- 3mdreports render --in report.md --template clean-report --format pdf
SDK
- 1npm i @x12i/mdreports-core
- 2renderToPdf / renderToDocx / renderToPptx
- 3await shutdown()
Related books
View full catalog →Need agents? Wire the MCP server next. Need a custom look? Jump to Templates.