md_render
Closed-subset Markdown -> HTML, escape-first (raw HTML never survives), javascript:/data: urls refused, tables, fences with language class, optional NFKD heading ids. Not CommonMark — it is the contract stated here, byte-stable. Free under 32 KB, x402 above.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"markdown": "<markdown>"
},
"name": "md_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| document | No | wrap in a standalone printable page (A4 print CSS — Ctrl-P makes the PDF) | |
| markdown | Yes | ||
| heading_ids | No |