The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Markdown Renderer API listing page.
Render Markdown to styled HTML with CSS themes -- light, dark, GitHub. Ready-to-embed HTML documents. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
text_render_markdown | POST | /api/render | $0.005 | Render markdown to styled HTML |
text_render_markdownUse this when you need to convert Markdown to a fully styled HTML document with embedded CSS. Returns a complete, display-ready HTML page in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
markdown | string | yes | Markdown text to render |
theme | string | no | CSS theme: 'light', 'dark', or 'github' (default: github) |
Example response:
When to use: generating styled documentation pages, creating email-ready HTML from markdown, building preview renders, and producing embeddable content blocks.
Not for: raw HTML conversion (no CSS) (use text_convert_markdown_to_html), PDF generation (use document_generate_pdf).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT