Skip to content

Markdown to HTML API

This API provides high-speed conversion of Markdown syntax into sanitized HTML. It supports standard Markdown features including tables, code blocks, lists & more.

POST /api/v1/markdown

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
markdownstringYesThe raw Markdown text to convert.
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/markdown \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"markdown": "# Hello **World**"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"html": "<h1>Hello <strong>World</strong></h1>\n"
}
}