Appendix B — A Brief History of Markup Languages
The history of markup languages is often presented as a sequence of technologies.
This appendix tells a different story.
It is the story of an idea.
For more than half a century, writers, publishers, researchers, and software developers have pursued the same goal:
How can knowledge be described in a form that is understandable to both people and computers?
The answers have changed.
The question has remained remarkably constant.
B.1 The 1970s — Describing Documents
During the 1970s, computing began moving beyond numerical calculation toward document preparation and publishing.
One of the most influential developments came from Donald Knuth, who became dissatisfied with the quality of mathematical typesetting while preparing later volumes of The Art of Computer Programming.
Rather than accepting poor typography, he designed TeX.
TeX demonstrated that plain text could describe even the most sophisticated mathematical documents with extraordinary precision.
Around the same period, Charles Goldfarb and his colleagues developed SGML (Standard Generalized Markup Language).
Where TeX concentrated on presentation, SGML emphasized the logical structure of documents.
Two complementary traditions had begun to emerge.
One focused on appearance.
The other focused on meaning.
B.2 The 1980s — Making Complexity Accessible
Powerful systems often require simpler interfaces.
Recognizing this, Leslie Lamport introduced LaTeX, a macro system built upon TeX.
Instead of requiring authors to assemble every typographical detail manually, LaTeX encouraged writers to describe the logical structure of their documents.
At roughly the same time, Oren Patashnik developed BibTeX, allowing bibliographies to be managed automatically.
Together, TeX, LaTeX, and BibTeX established many conventions that continue to shape academic publishing today.
They also demonstrated a recurring principle of markup languages:
Describe the document. Let the system handle the presentation.
B.3 The 1990s — The Web Changes Everything
The arrival of the World Wide Web transformed markup from a specialist technology into a global medium.
Tim Berners-Lee introduced HTML, enabling documents to be linked across the internet.
For the first time, publishing became fundamentally connected.
Information was no longer confined to individual computers or printed books.
Documents became part of an interconnected network of knowledge.
During the same decade, XML emerged as a simpler successor to SGML.
Rather than defining a single document vocabulary, XML allowed communities to create their own.
DocBook.
DITA.
Mathematical markup.
Scientific publishing.
Configuration files.
XML quietly became one of the most influential descriptive technologies in computing.
B.4 The Early 2000s — Simplicity Returns
As XML grew increasingly powerful, many writers began searching for simpler alternatives.
Several lightweight markup languages appeared almost simultaneously.
In 2001, David Goodger introduced reStructuredText, designed to support Python documentation and technical writing.
Around the same period, Stuart Rackham created AsciiDoc, providing many of DocBook’s capabilities through a much simpler writing experience.
Then, in 2004, John Gruber, with significant early collaboration from Aaron Swartz, released Markdown.
Markdown pursued an unusually modest goal.
It sought to produce documents that remained pleasant to read even before they were rendered.
That simple philosophy would eventually reshape digital writing.
B.5 The Quiet Revolution of Markdown
Markdown’s popularity cannot be explained by syntax alone.
Its greatest strength lay in its invisibility.
Authors spent less time formatting and more time thinking.
As the internet expanded, Markdown quietly became the preferred language of blogs, documentation, open-source projects, note-taking applications, and eventually artificial intelligence systems.
Another important figure soon entered this story.
John MacFarlane developed Pandoc, a universal document converter capable of translating between numerous markup languages.
Although Pandoc supports many formats, its elegant support for Markdown helped establish Markdown as a practical publishing language rather than simply an email notation.
Later, Quarto would build upon many of these ideas to create a comprehensive publishing system for books, websites, articles, presentations, and dashboards.
B.6 Reproducible Documents
While publishing was becoming simpler, another tradition continued to evolve.
Years earlier, Donald Knuth had explored the idea of literate programming, combining documentation and source code within a single document.
Although Knuth’s WEB system remained specialized, the underlying idea proved remarkably influential.
Researchers increasingly wanted documents that combined explanation, computation, and reproducible results.
This vision inspired many later projects.
Sweave integrated statistical computing with documentation.
R Markdown combined Markdown with executable R code.
Within the Emacs community, Org mode and Org Babel demonstrated how notes, prose, and executable code could coexist naturally.
Projects such as Jupyter Notebook extended these ideas to Python, Julia, and R, making computational notebooks a standard tool for scientific and educational work.
Eventually these traditions converged in modern publishing systems such as Quarto, where prose, computation, visualization, and publication coexist within a single workflow.
B.7 The 2020s — A New Generation
Recent years have seen renewed interest in modern document preparation.
Among the most notable developments is Typst.
Rather than replacing TeX, Typst reimagines mathematical typesetting for contemporary users.
Its syntax is lighter.
Its scripting model is more consistent.
Its design reflects many lessons learned from Markdown while preserving the expressive power required for academic publishing.
It illustrates a recurring theme in the history of markup languages.
The technologies evolve.
The underlying ideas remain.
B.8 Looking Back
Half a century of innovation reveals remarkable continuity.
TeX taught us that mathematics could be expressed through plain text.
SGML and XML taught us to describe structure.
HTML connected documents across the world.
Markdown simplified everyday writing.
Pandoc connected markup languages.
Quarto unified publishing workflows.
Typst modernized scientific typesetting.
Each technology solved different problems.
Each inherited ideas from those that came before.
B.9 The Continuing Story
The history of markup languages has never been a competition between technologies.
It has been a conversation.
Every generation inherits the ideas of the previous one, simplifies some, extends others, and adapts them to new needs.
Artificial intelligence will undoubtedly influence the next chapter of this story.
Yet the central question remains unchanged.
How can human knowledge be expressed clearly, preserved faithfully, transformed intelligently, and shared generously?
That question gave birth to markup languages half a century ago.
It continues to guide them today.