text

Use this when you need to convert lightweight Markdown into a sanitized, XSS-safe HTML fragment to preview or embed, matching the Clean.tools markdown preview.

Use this when you need to convert lightweight Markdown into a sanitized, XSS-safe HTML fragment to preview or embed, matching the Clean.tools markdown preview. Deterministic: same input, same output. Supports headings, bold/italic/strikethrough, inline and fenced code, links and images (http/https/mailto URL schemes only; other schemes become "#"), blockquotes, ordered/unordered/task lists, GFM tables, and horizontal rules. All raw angle brackets are HTML-escaped so the output is safe to inject. Example: "# Hi\n\nbold" -> html "<h1>Hi</h1><p><strong>bold</strong></p>".

post/v1/render_markdown

Request

  • Base URL: https://api.clean.tools
  • URL: https://api.clean.tools/v1/render_markdown
  • Auth: none declared

Request body

markdownstring required

The Markdown source text to render to HTML.

Response

Structured tool result.

toolstring

Changes

No recorded changes to this operation across all 1 revision of this API.