CommonMark is a strongly defined specification of Markdown that resolves ambiguities in the original Markdown spec. It also comes with a suite of comprehensive tests to validate Markdown implementations.

Source: commonmark.org