A Simple RESTful MarkDown converter API. Supply plain-text MarkDown or base64 encoded MarkDown, receive either plain-text HTML or base64 encoded HTML.
You will get an API token as soon as you press the "Get token" button.
curl https://api.markdown.rest/convert \
-X POST \
-H "Authorization: Bearer {your-token-here}"
-d '{"content":"# Hello","returnBase64":true}'
{
"error": null,
"data": "PGgxPmhlbGxvPC9oMT4KPGgyPndvcmxkPC9oMj4>"
}
Options you can include in the json payload
Option |
Type |
Default |
Required |
content |
string |
null |
Yes |
isBase64 |
boolean |
false |
No |
returnBase64 |
boolean |
false |
No |