Markdown Website Generator API Documentation
Introduction
If you want to integrate our Markdown to HTML conversion service into your application, you can use our API.
If you are not yet familiar with our service, please visit the about page to learn more.
How to Use the API
To use our API, make a POST
request to the endpoint with the following parameters:
-
markdown
(required): The Markdown text you want to convert to HTML.
We will then return a JSON response with the following fields:
-
html
: The generated HTML content.
Please make sure to set the Accept
and Content-Type
headers to application/json
.
Request Example
curl -X POST https://markdown-website-generator.desilva.se/api/generate \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"markdown": "# Hello, world!"
}'
Response Example
{
"html": "<html>...</html>"
}
Disclaimer
Please note that while the API is currently free, we may impose usage limits in the future to ensure fair usage for all users, requiring payment for large scale commercial usage. Additionally, note that the API is not stable, and may contain breaking changes.