What is Markdown?
The AI Glossary
In our classes, we often pause to explain the ideas behind AI and the language used to describe it. These posts grew out of those conversations. They’re for anyone who would like to understand AI better, with no technical background assumed.
Markdown is a way to add simple structure to plain text using familiar punctuation. A heading can start with a hash sign, a list item with a hyphen, and a link can be written using brackets and parentheses. The text remains readable even before software turns it into a formatted page.
This makes Markdown useful for documents that people and software both need to work with. A file can be opened in a text editor, reviewed line by line and stored with a project’s other files. Version control records changes over time, making it easier to see what was added, removed or agreed.
Different applications support slightly different versions of Markdown. CommonMark provides a specification for a common core, while other systems add features such as tables or checkboxes. A document that looks right in one application may need small adjustments in another.
Markdown is a format, not a programming language or an enforcement mechanism. Writing “never send a message without approval” in a Markdown file does not remove the software’s ability to send messages. The instruction must be supported by permissions and application behavior where the boundary matters.
It is also not a zero-cost format for language models. Headings, punctuation and repeated text all use processing capacity. Clear structure can make instructions easier to organize and inspect, but there is no universal rule that Markdown is the best format for every input or output. Structured data may be better represented in a format such as JSON, which uses explicit fields and values.
In an AI-enabled build project, a team can use Markdown to record the user’s problem, required behavior, exclusions and acceptance checks. For a referral assistant, that might include who may see records and when a draft requires approval. The benefit is that clinical, product and engineering colleagues can review the same readable specification. Keeping that document current and testing the resulting behavior are what make it useful—not the filename ending in .md.
Sources: CommonMark — Markdown Reference
To learn more, take a look at the AI in Health Care Certificate of Specialization from the Advanced Learning Academy at Harvard T.H. Chan School of Public Health. You can take an individual course or work toward the full certificate.
AI is a fast-moving field. This explanation reflects our class discussions and related material at the time of writing. Terminology, capabilities and tools may change.
For suggested additions or corrections, please email me at tpanch@hsph.harvard.edu.
Dr. Trishan Panch
Program Director, AI in Health Care
Harvard T.H. Chan School of Public Health — Advanced Learning Academy
Lead with AI in Health Care
The AI Pragmatist is a monthly newsletter from ALA faculty, with new explainers & essays from the Advanced Learning Academy