Understanding Markdown: origins, flavors and publishing

John Gruber released Markdown in 2004, with Aaron Swartz contributing to its development. The original tool converted the text-oriented notation to HTML. Adoption led to different implementations and extensions. CommonMark describes a more precise core with test specimens. GitHub Flavored Markdown, or GFM, adds pipe tables, task lists, strikethrough, and additional automatic links. Pandoc's Markdown dialect goes considerably further with notes, metadata, mathematics, and other table forms. S01, S02, S03

The important distinction is therefore not simply "Markdown or not Markdown". A production profile must identify the syntax accepted by the reader, the information retained by its document model, the filters processing that information, and the structures emitted by the target writer. A converter can finish without an error even when it never recognized an intended table. An attractive preview and a domain-correct result are not the same thing either.

This guide addresses publishing professionals, technical writers, and developers. English specimens are identical in the German and English editions. Every numbered example includes copyable source, a genuinely generated preview, and an explanation. Its preview comes from the stated profile. It does not claim that every Markdown editor produces the same result.

The supplied reference document provides publishing requirements involving metadata, lists, tables, media, notes, mathematics, and indexes. Its domain structures are not silently reclassified as general Markdown features. The examples below use newly created data. Historical and technical explanations refer to the listed primary sources; conversion observations refer to the included test runs. [S00]

Testing separates CommonMark, a profile restricted to formal GFM features, and Pandoc Markdown. The GitHub website and Pandoc's default GFM reader have some additional capabilities. The package explicitly disables those additions for the profile comparison. A simple "GFM: yes/no" table would be ambiguous without this qualification. S03, S04, S10

<< back                                                                                                             next >>