API reference

Markdown preview

POST /markdown 🔑

Renders Markdown with exactly the same renderer as the template filter |markdown – used for the preview in the Markdown editor.

{ "source": "## Hallo\n\n- [x] erledigt\n- [ ] offen" }

Response 200:

{ "html": "<h2 id=\"hallo\">Hallo</h2>\n<ul>\n<li><input checked=\"\" disabled=\"\" type=\"checkbox\"> erledigt</li>\n…" }