# Convert markdown to HTML
Converts markdown formatted text to HTML for preview purposes. Supports standard markdown syntax and returns properly formatted HTML. Useful for previewing how markdown content will appear when rendered in posts or articles.
Endpoint: PUT /api/v1/posts/markdown2html
Version: 1.0
Security: header
## Response 401 fields (application/json):
- `errorCode` (string, required)
Error code
- `message` (string, required)
Error message
- `docUrl` (string)
Link to documentation