13  Beyond Markdown: CommonMark, GitHub Flavored Markdown, and AI Markdown

Guiding Question: What happens when a simple markup language becomes the world’s writing language?

Markdown began as a remarkably modest idea.

Its purpose was to make writing HTML easier.

It was intentionally simple.

Its syntax was intentionally small.

Its creator deliberately resisted turning it into a large, formal specification.

Yet simplicity often invites growth.

As Markdown spread across blogs, documentation systems, software repositories, publishing platforms, note-taking applications, and collaborative writing environments, new communities began adapting it to their own needs.

The result was not one Markdown.

It became many.

Far from diminishing Markdown, this evolution demonstrates its extraordinary success.

13.1 The Price of Success

For several years, Markdown existed largely as a shared convention rather than a precisely defined standard.

Different software implementations interpreted certain features differently.

Questions that appeared straightforward often had multiple answers.

How should nested lists behave?

Should underscores inside words create emphasis?

How should code blocks be handled?

Different implementations made different decisions.

Most of the time this caused little difficulty.

As Markdown became the foundation for increasingly sophisticated publishing systems, however, consistency became more important.

13.2 CommonMark

One of the most significant milestones in Markdown’s history was the development of CommonMark.

Rather than changing Markdown’s philosophy, CommonMark sought to describe it precisely.

Its goal was straightforward:

A Markdown document should behave consistently regardless of the software used to process it.

To achieve this, CommonMark provides:

  • a carefully defined specification
  • extensive test cases
  • predictable behaviour across implementations

In many ways, CommonMark did for Markdown what language standards have done for programming languages.

It preserved portability.

13.3 GitHub Flavored Markdown

Software development introduced new requirements that the original Markdown had never anticipated.

Developers wanted:

  • tables
  • task lists
  • fenced code blocks
  • syntax highlighting
  • automatic linking
  • strike-through text

These features became part of GitHub Flavored Markdown (GFM).

Today millions of developers encounter GFM through:

  • README files
  • issue trackers
  • pull requests
  • project documentation
  • software wikis

For many people, GitHub Flavored Markdown has become their everyday experience of Markdown.

13.4 Markdown Leaves the Web

Originally, Markdown generated HTML.

Today its ambitions extend much further.

Modern publishing systems routinely transform Markdown into:

  • books
  • academic papers
  • websites
  • PDF documents
  • EPUB ebooks
  • presentations
  • technical manuals
  • blogs

Markdown has become less a web language than a universal publishing language.

HTML remains an important destination, but it is no longer the only one.

13.5 Quarto and the Modern Publishing Pipeline

The growth of tools such as Quarto illustrates just how far Markdown has evolved.

A single Markdown-based source document may now include:

  • executable code
  • mathematical notation
  • citations
  • bibliographies
  • diagrams
  • tables
  • cross references
  • indexes

From that single source, Quarto can produce professional publications in numerous formats.

This approach demonstrates how Markdown has matured from a lightweight markup language into the foundation of sophisticated publishing workflows.

13.6 Markdown for Research

Researchers also embraced Markdown.

Projects such as R Markdown demonstrated that narrative text, statistical analysis, figures, and tables could all be maintained within a single document.

Rather than separating computation from writing, both become part of one reproducible workflow.

The resulting documents combine explanation with evidence.

This represents another important stage in Markdown’s evolution.

13.7 Markdown and Personal Knowledge

Markdown has also become the preferred format for many note-taking systems.

Its plain text foundation offers important advantages.

Notes remain portable.

They can be searched instantly.

They integrate naturally with version control.

They remain independent of particular software vendors.

Many knowledge-management systems now store information primarily as Markdown files, reinforcing the idea that plain text remains one of the most durable ways to preserve personal knowledge.

13.8 Markdown in the Age of Artificial Intelligence

Perhaps no development has expanded Markdown’s influence more rapidly than artificial intelligence.

Large language models frequently generate Markdown because it balances two important goals.

It remains highly readable for people.

It preserves structure for machines.

Headings, lists, tables, code blocks, quotations, links, and mathematical notation all remain easy to recognize.

As a result, Markdown has become a natural language of communication between humans and AI systems.

Many conversations with AI now begin and end in Markdown, even when users are unaware of it.

13.9 Why Markdown Continues to Evolve

Markdown’s continued evolution reflects its greatest strength.

It was never designed to solve every publishing problem.

Instead, it provided a remarkably simple foundation upon which communities could build.

Software developers extended it.

Researchers extended it.

Publishers extended it.

Documentation systems extended it.

Artificial intelligence now extends it further still.

The language continues to grow because its underlying philosophy remains sound.

13.10 Lessons for the Textsmith

The history of Markdown teaches an important lesson.

Successful technologies rarely remain exactly as their creators imagined.

Communities adapt them.

Extend them.

Refine them.

Occasionally standardize them.

Markdown’s many dialects should therefore not be viewed as signs of failure.

They are evidence of widespread adoption.

A language used by millions of people inevitably reflects the diverse needs of its users.

That diversity is one of Markdown’s greatest achievements.

13.11 Key Ideas

  • Markdown evolved from a simple HTML authoring language into a universal publishing format.
  • CommonMark introduced a precise specification that improved portability and consistency.
  • GitHub Flavored Markdown adapted Markdown for software development.
  • Modern publishing systems such as Quarto greatly extend Markdown’s capabilities.
  • Markdown supports reproducible research, technical documentation, note-taking, and digital publishing.
  • Artificial intelligence has reinforced Markdown’s role as a human-readable and machine-readable format.
  • Markdown continues to evolve because its simplicity encourages adaptation rather than restriction.

In the next chapter, we encounter one of the newest members of the markup family.

Can professional typesetting be reinvented for the twenty-first century?

That question inspired Typst, a language that reimagines many of the ideas pioneered by TeX and LaTeX while embracing modern software design.