Convert Markdown to HTML with headings and links
markdownMarkdown to HTML with GitHub-flavoured tables and strikethrough, heading ids, the list of headings and links, and a word count. Raw HTML in the input is escaped unless allowHtml is true; links and images with javascript:, vbscript: or data: addresses are removed. Pure code, no outbound request. Input up to 200 KB. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": "markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gfm | No | GitHub-flavoured Markdown, default true | |
| markdown | Yes | The Markdown text, up to 200 KB | |
| allowHtml | No | Keep raw HTML from the input, default false (escaped) | |
| headingIds | No | Give each heading an id, default true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| links | No | ||
| source | No | ||
| options | No | ||
| headings | No | ||
| checkedAt | No | ||
| wordCount | No |