POST

Convert Markdown string to HTML. Uses markdown-it

/v1/md-html

Conversions · markdown-it

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/md-html
Content-Type: application/json

{
  "markdown": "Hello, world!"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Convert Markdown string to HTML. Uses markdown-it.

Request schema

Body: JSON · application/json

FieldTypeDescription
markdownstringrequired
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/md-html \
  -H "Content-Type: application/json" \
  -d '{
  "markdown": "Hello, world!"
}'

402 payment flow omitted — see Integrations for settlement.