Markdown to HTML
Heavstal Markdown Engine provides high-speed conversion of Markdown syntax into secure, sanitized HTML. It supports standard Markdown features including tables, code blocks, and lists.
Endpoint
Section titled “Endpoint”POST /markdown
Request Parameters
Section titled “Request Parameters”| Field | Type | Required | Description |
|---|---|---|---|
| markdown | string | Yes | The raw Markdown text to convert. |
Example Usage
Section titled “Example Usage”const res = await fetch('https://heavstal.com.ng/api/v1/markdown', {method: 'POST',headers: { 'x-api-key': 'YOUR_KEY' },body: JSON.stringify({ markdown: '# Hello **World**' })});Successful Response
Section titled “Successful Response”{"status": "success","creator": "HEAVSTAL TECH","data": { "html": "<h1>Hello <strong>World</strong></h1>\n"}}