IT lexicon › Web › CommonMark

CommonMark

Web På svenska → Updated: 2026-07-29

A strict specification of Markdown, driven by John MacFarlane starting in 2014. It exists because John Gruber's original 2004 description left hundreds of cases undefined.

The problem was real: the same document rendered differently in every implementation, especially around nested lists, emphasis with underscores inside words, and inline HTML. CommonMark is a 60-page spec plus a test suite of roughly a thousand cases and reference implementations in C and JavaScript. The launch was messy — the effort was initially called "Standard Markdown" until Gruber objected to the name. GitHub Flavored Markdown is CommonMark plus tables, strikethrough, task lists and autolinks. The spec has been stable since 0.29 and most serious parsers follow it today.

← Back to the lexicon