# Leo Shi Markdown to HTML Converter

> Leo Shi Markdown to HTML Converter is a paid API for AI agents from leoshi-blog.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Converts Markdown text input into rendered HTML output

## Facts

- Endpoint: POST https://leoshi-blog.vercel.app/api/tools/md2html
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/leo-shi-markdown-to-html-converter-b524ebac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1lpyMf9s2aWnXCAHYvFue

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability leo-shi-markdown-to-html-converter-b524ebac -d '<json body>'
```

Example prompt: Convert this markdown text to HTML for me: '# Hello World\n\nThis is a **bold** statement and here is a [link](https://example.com).'

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use Markdown-to-HTML conversion without managing your own rendering library or server-side markdown parser. Ideal for lightweight pipelines that occasionally need markdown rendered and want to avoid bundling a full markdown library dependency.

## Known failure modes

- Empty or missing markdown input body may return an error or empty html field
- Malformed request body (non-string markdown) may result in a 400-level error
- Extremely large markdown documents may time out or be rejected
- Payment failure (insufficient USDC) will block the request via x402 protocol

## How this service works

一个人的思考、创作与成长记录。关于生活、技术、商业和一切有趣的事。

## Output

Returns a JSON object containing an 'html' field with the fully rendered HTML string converted from the input Markdown, including proper HTML tags for headings, paragraphs, bold, italic, links, lists, and other standard Markdown elements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "markdown": {
   "type": "string",
   "description": "Markdown text to convert"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "html": "<h1>Hello</h1>\n<p>World</p>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/leo-shi-markdown-to-html-converter-b524ebac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from leoshi-blog.vercel.app](https://www.zero.xyz/host/leoshi-blog.vercel.app/llms.txt)
