XML technologies / Other markup languages / Markdown in publishing / Reference document and test results

The package contains 51 jointly maintained examples. 50 of these are Markdown test cases; another shows the actual build commands. The German- and English-language chapters use the same source files and the same preview images.

The reference is not a promise to cover every Markdown extension ever invented. Its defined scope is the CommonMark core, the formal GFM extensions relevant to this comparison, and a broad Pandoc publishing profile. Additional platform features, Quarto and MyST syntax are classified, but not presented as secretly tested standard features.

The complete reference is read in with a single, extended Pandoc profile. It is therefore not equivalent to a montage of the individual tests: the standalone CommonMark image reference from example 23 is treated there as a figure with a caption. With the GFM code in example 32, the protective backslash before the pipe character can be preserved under this other reader. The test report names these observed profile differences. For the evaluation of an individual syntax, the isolated source file, the specified input profile and its actual output are decisive.

The test checks the parsing result, selected HTML structures, local resources, internal references and key properties of the generated DOCX and EPUB files. Table spanning, nested lists, real Word notes and Office Math structures are not inferred from the screenshot alone. The files are examined structurally for this purpose. The full scope and remaining limitations are described in tests/TEST-RESULTS.md.

The reference PDF is based on the DOCX output. The screenshot files come from real HTML renderings using the supplied stylesheet. 

The decision aid is therefore requirement-oriented: Markdown is well suited to text-oriented content with a clearly limited structural need. An extended profile can achieve considerably more, but requires controlled conventions and tests. If subject-specific validation, strongly typed content, complex variants or low-loss long-term production are central, a suitable XML vocabulary or another explicit document model should remain part of the workflow.

Markdown does not have to replace XML in order to be important. As an authoring format, documentation language or controlled intermediate format, it can play a useful role. Anyone who knows its specific syntax, the differences between profiles and the limits of processing can define this role precisely.

back to top