On this page 7 sections

Markdown is a way of formatting plain text with simple symbols, such as # for a heading and ** for bold, which software then turns into a formatted page. This Markdown cheat sheet covers where Markdown is used today, why it became so popular and the syntax you need, with a table you can keep open while you write.
It is no longer just for programmers. From GitHub project pages to Google Docs, Windows Notepad and the text that AI tools produce, Markdown has become one of the most common ways to write structured text.
Short answer
- What it is: a plain-text format where symbols such as
#,**and-mark headings, bold text and lists. Files usually end in.md. - Where it's used: code projects, documentation, notes apps, websites and blogs, office tools such as Google Docs, and AI tools and the instruction files that guide them.
- Why it's popular: it reads well as plain text, opens in any editor, is quick to learn and converts to HTML, Word or PDF.
- Watch out: Markdown comes in flavours. Tables and task lists are extras, and WhatsApp and Slack use a single
*for bold, not italic. - The cheat sheet: the syntax table is further down this page.
What is Markdown?
Markdown was developed by John Gruber, with help from Aaron Swartz, and released in 2004 as a syntax description plus a Perl script that converted it to HTML (CommonMark spec (opens in a new window)). Gruber's overriding goal (opens in a new window) was readability: a Markdown document should look fine as plain text, without looking as if it has been covered in tags.
The original description left some details open, so different tools showed the same file differently (opens in a new window). CommonMark fixed that with a precise specification and tests. Discourse, GitHub, GitLab, Reddit and Stack Overflow have adopted it. GitHub Flavored Markdown (GFM) builds on CommonMark and adds tables, task lists and strikethrough (opens in a new window).
In 2016 the IETF registered text/markdown as an official media type, describing Markdown as a family of plain-text formatting syntaxes (opens in a new window). That word "family" explains why Markdown behaves slightly differently from one app to the next.
How is Markdown used today?
Markdown has grown steadily for years. In June 2026 The Vergecast described a recent step change in its popularity (opens in a new window), driven by AI agent systems adopting it. Google made a similar point in October 2026 when it added native .md editing to Drive and Docs, calling Markdown a standard text format widely used by large language models (opens in a new window).
Ways Markdown is used
| Use | Examples | What Markdown does there |
|---|---|---|
| Code projects | GitHub README files, issues and comments | Formats project descriptions, instructions and discussions |
| Documentation | Microsoft Learn, GitHub Docs | Articles are .md files, many kept in GitHub repositories |
| Websites and blogs | Astro sites, our own blog | Posts and pages are written in Markdown and turned into web pages |
| Notes | Obsidian | Notes are plain-text Markdown files in a folder you own |
| Office apps | Google Docs, Windows 11 Notepad | Paste, import, export or type Markdown-style formatting |
| Data notebooks | Databricks | Markdown cells document code and results |
| Forums and Q&A | Reddit, Stack Overflow, Discourse | Posts and comments |
| AI tools | AI answers, CLAUDE.md and AGENTS.md files | Structured replies, and written instructions for AI assistants |
| Website content for AI | llms.txt, Cloudflare Markdown for Agents | A Markdown version of a site that AI tools can read |
Markdown and AI tools
AI is the fastest-growing use, and it has three parts:
- AI answers: Google says language models use Markdown to keep tables, headers and lists intact. Google Docs can convert pasted Markdown (opens in a new window) into normal formatting.
- Instruction files: CLAUDE.md files (opens in a new window) are Markdown files of standing instructions that Claude Code reads at the start of every session. AGENTS.md is a "README for agents": it is plain Markdown with no required format, and according to its own site (opens in a new window) more than 60,000 open-source projects use it. To see how AI-assisted teams work, read what an AI software development team is.
- Website content: llms.txt is a proposal (opens in a new window) for a Markdown file at a site's root that helps AI tools find your key pages. Cloudflare's Markdown for Agents, launched in February 2026, converts a page to Markdown when an AI agent asks for it. For one Cloudflare blog post that meant 3,150 tokens instead of 16,180 (opens in a new window), about 80% fewer. That figure is for one post, not a promise for every site. See our page on Cloudflare.
Why is Markdown so popular?
- It reads well as it is. It is plain text with a few symbols, so a person can read it without any software.
- It is quick to learn. Gruber describes its syntax as covering only a very small subset of HTML tags (opens in a new window). Most people need ten symbols or fewer.
- It lasts. Obsidian notes that plain-text notes outlive any app (opens in a new window), and any editor can open them.
- It suits teamwork. Plain text can be stored in Git next to code. Microsoft's Teams documentation, for example, is written in Markdown and hosted on GitHub (opens in a new window).
- It converts easily. Pandoc converts between Markdown, HTML, Word and more (opens in a new window), and can produce PDF.
- There is a standard. CommonMark has a specification and test cases, so most major sites behave the same way.
Markdown cheat sheet
Type what is in the middle column to get the result on the right. Put a space after the # signs and a blank line between paragraphs.
| What you want | Type this | You get |
|---|---|---|
| Main heading | # Heading | The largest heading, used once per page |
| Smaller headings | ## Heading or ### Heading | Headings down to six levels |
| Bold | **bold** | bold |
| Italic | *italic* or _italic_ | italic |
| Bold and italic | ***both*** | both |
| Strikethrough | ~~crossed out~~ | Crossed-out text (GitHub style, not in original Markdown) |
| Link | [link text](https://example.com/) | A clickable link showing the words in brackets |
| Image |  | An image with alt text |
| Quote | > Quoted text | An indented quote |
| Bullet list | - Item | A bulleted list, one item per line |
| Numbered list | 1. Item | A numbered list |
| Nested list | - Sub-item, indented two spaces | A list inside a list |
| Task list | - [ ] To do and - [x] Done | Checkboxes (GitHub style) |
| Inline code | `code` | Code in a monospace font |
| Code block | Three backticks on a line, your code, then three backticks | A block of code that keeps its spacing |
| New paragraph | A blank line | Two separate paragraphs |
| Line break | Two spaces at the end of a line, or a backslash \ | A new line without a new paragraph |
| Show a symbol | \* | A literal asterisk instead of formatting |
Tables
For a table, separate columns with pipes and add a row of hyphens under the headings. GitHub's guide (opens in a new window) asks for at least three hyphens in each column of that row and a blank line before the table.
| Task | Status |
| --- | --- |
| Draft the page | Done |
| Check the links | To do |
Where Markdown behaves differently
- Extras are not universal. Tables, task lists and strikethrough are GFM extensions, so a simple Markdown tool may show them as plain text.
- Chat apps use look-alike symbols. In WhatsApp, asterisks make text bold (opens in a new window) and underscores make it italic. Slack does the same (opens in a new window). In standard Markdown, a single asterisk gives italic.
- Line breaks differ. In issues and comments on GitHub, a single new line gives a line break (opens in a new window). In a
.mdfile you need two spaces, a backslash or a blank line. - Headings need a space. CommonMark (opens in a new window) requires a space after the hashes and allows six levels. Seven or more hashes is not a heading.
- The page title may already be taken. If your site has a separate title field, as ours does, start your article sections at
##.
How we can help
Markdown often sits behind the scenes of the websites and software we build. Our own blog is written in it. If you need help with software development or want AI-assisted development set up with clear written instructions, see our agentic coding work, or get in touch. We'll reply within 2 working days.
GitHub, Google Docs, Google Drive, Windows, Notepad, Microsoft Learn, WhatsApp, Slack, Obsidian, Databricks, Cloudflare, Astro, Reddit, Stack Overflow, Discourse and Claude are trademarks of their respective owners. Mammoth Digital is not affiliated with them.
Facts checked on 18 November 2026. Sources: CommonMark spec (opens in a new window), GitHub Flavored Markdown spec (opens in a new window), GitHub Docs (opens in a new window), Google Workspace Updates (opens in a new window), Cloudflare (opens in a new window).