Document Renderer
Render Markdown into a styled PDF, Word DOCX or HTML file with a download link.
Render Markdown (tables, code, lists, headings) into a styled PDF (custom CSS, A4/Letter/Legal, page numbers), a Word DOCX or standalone HTML; returns a private download link valid for 24 hours. External resources are never fetched (inline data: images only).
What agents use it for
- Turn an agent's report into a client-ready PDF
- Produce DOCX deliverables from Markdown tables and headings
- Generate invoices, summaries and briefs on demand
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
markdown | string | yes | Markdown source of the document (tables, lists, code, headings) |
format | "pdf" | "docx" | "html" · default "pdf" | no | Output format (see allowed values) |
css | string | no | Extra CSS (pdf/html) |
title | string | no | Document title |
page_size | "A4" | "Letter" | "Legal" · default "A4" | no | Paper size for PDF output |
filename | string | no | File name for the download (extension added automatically) |
Call it
{
"name": "render_document",
"arguments": {
"markdown": "# Report\n\n| a | b |\n|---|---|\n| 1 | 2 |",
"format": "pdf",
"title": "Report"
}
}curl -i -X POST "https://api.ishob.com/v1/render-doc" \
-H "Content-Type: application/json" \
-d '{"markdown":"# Report\n\n| a | b |\n|---|---|\n| 1 | 2 |","format":"pdf","title":"Report"}'Paid with x402: the first call returns HTTP 402 with the price; an x402 client (for example @x402/fetch or @x402/mcp) signs a USDC payment and retries. Calls that fail are not charged.
Connect the MCP server: setup for Claude, Cursor and other clients.