Wandelt Markdown in HTML um und zeigt neben dem Markup eine Live-Vorschau des gerenderten Ergebnisses.
Markdown wird geparst und als HTML ausgegeben; die Vorschau wird vor der Anzeige bereinigt: script-Tags, Event-Handler-Attribute und javascript:-Adressen werden entfernt, denn eine Vorschau stellt dar, was die Eingabe ihr aufträgt, und Markdown lässt rohes HTML bewusst zu. Die Umwandlung folgt dem verbreiteten, von CommonMark abgeleiteten Verhalten — was zu wissen sich lohnt, denn Markdown ist keine einzelne Spezifikation: Tabellen, Aufgabenlisten, Durchstreichungen und Fußnoten sind Erweiterungen, die manche Prozessoren unterstützen und andere nicht, sodass hier funktionierende Ausgabe anderswo nicht unverändert überlebt.
Markdown, das nicht überall gleich funktioniert
-
Markdown ist eine Familie, kein Standard:
Tabellen und Aufgabenlisten sind Erweiterungen. Ein Dokument, das sich darauf stützt, wird in einem Prozessor, der denselben Satz nicht umsetzt, anders dargestellt.
-
Die Vorschau wird bereinigt, die Ausgabe nicht:
Alles Ausführbare wird vor der Anzeige entfernt. Fügen Sie das erzeugte HTML in eine Seite ein, verantworten Sie selbst, was darin steht.
-
Rohes HTML wird durchgereicht:
Markdown erlaubt das absichtlich. Das ist nützlich und zugleich der Grund, warum nicht vertrauenswürdiges Markdown niemals unbereinigt gerendert werden darf.
-
Zeilenumbrüche sind die übliche Überraschung:
Ein einzelner Zeilenumbruch erzeugt in den meisten Prozessoren keinen Umbruch. Zwei Leerzeichen am Zeilenende oder eine Leerzeile für einen neuen Absatz sind das, was funktioniert.
Markdown is a family of dialects, not one fixed standard
The [msm_tool slug="markdown-to-html"] follows common CommonMark-derived behaviour, which is worth knowing because CommonMark only specifies the core precisely — tables, task lists, strikethrough and footnotes are all extensions that individual processors choose whether to implement. A document leaning on any of those can render correctly here and differently somewhere else, with both outputs being defensible readings of the same source.
The preview is sanitised; the HTML that gets copied out is not
Script tags, event handler attributes and `javascript:` URLs are all stripped before the live preview renders, because a preview displays whatever the input actually tells it to and Markdown permits raw HTML by design. That stripping applies only to what is shown on screen — the HTML copied out for use elsewhere is unfiltered, so publishing it anywhere untrusted content might reach is a separate responsibility this tool does not take on.
Raw HTML passing through is a feature, not a gap
Markdown deliberately allows embedded HTML to flow straight through into the output, which is genuinely useful for anyone who needs it — and is exactly why Markdown from a source that is not trusted should never be rendered without sanitising it first, since the format itself places no restriction on what that embedded HTML can contain.
Why a single line break quietly disappears
Most Markdown processors read a lone newline as an ordinary space rather than a line break, requiring a genuinely blank line before starting a new paragraph — a common surprise for anyone pasting in text that was originally wrapped by an editor rather than written with Markdown's own conventions in mind. Two trailing spaces at the end of a line, or a backslash, forces an actual break within a single paragraph where one is needed.