Markdown to PDF
Markdown → PDF via marked + Playwright Chromium print
marked+playwrightvmarked@15 / playwrighthttps://github.com/markedjs/marked + https://playwright.dev
Workspace
Local or server · same path as API
doc/md-to-pdfEngine
Hard-correct: product path is marked → HTML → Playwright Chromium print. Missing Chromium fails closed — no silent simple fallback. Use simple only for explicit tests.
API
forge.doc.md_to_pdfSame contract as the page. Use an authenticated key in production.
curl -X POST 'https://forge.nebutra.com/v1/tools/doc/md-to-pdf/invoke' \
-H 'Authorization: Bearer sk-sailor-…' \
-H 'Content-Type: application/json' \
-d '{
"example": true
}'
