Markdown Cheat Sheet
Markdown syntax reference for CommonMark and GitHub Flavored Markdown: headings, lists, tables, task lists, code and links, with the HTML each one produces.
Markdown turns plain text into formatted HTML using a handful of symbols. This sheet lists the syntax defined by CommonMark (the standard most tools follow) and GitHub Flavored Markdown (tables, task lists, strikethrough and bare-URL links), with the exact HTML each example produces. Features that only GitHub.com renders, such as footnotes and alert boxes, are marked separately so you know where they will not work.
How to use this tool
- Scan the table, or type a word such as table or link in the filter.
- Use the Show menu to limit the list to CommonMark, GFM extensions or GitHub-only features.
- Paste your own Markdown into Try it to see the HTML it turns into.
- Copy the HTML, or adjust the Markdown until the output looks right.
Formula
Markdown text → HTML (CommonMark + GFM rules)
The HTML column and the Try it box are generated in your browser with the marked library in GFM mode, which follows the CommonMark and GFM specifications closely; in rare edge cases other renderers can differ. Line breaks inside a paragraph are not turned into <br> unless the line ends with two spaces or a backslash.
Example
In the sample, - [x] Milk becomes a list item with a checked, disabled checkbox, Bread becomes <strong>Bread</strong>, and the divider row | :--- | ---: | makes the Item column left-aligned and the Qty column right-aligned (align="right" on the 12). The backticks around npm test produce <code>npm test</code>.
Frequently asked questions
What is the difference between CommonMark and GFM?
CommonMark is a precise specification of core Markdown. GitHub Flavored Markdown is a strict superset that adds tables, task lists, strikethrough, autolinked URLs and a filter for unsafe HTML.
Why does my single line break disappear?
In Markdown a single newline inside a paragraph is treated as a space. End the line with two spaces or a backslash for a hard break, or leave a blank line for a new paragraph.
Do footnotes work everywhere?
No. GitHub.com, GitLab and some static-site generators support [^1] footnotes, but they are not in the CommonMark or GFM specifications, so many renderers show them as plain text.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/markdown-cheat-sheet/
Cite or embed this tool
kakaoCalc. (2026, November 8). Markdown Cheat Sheet. https://kakao.mobile/tools/markdown-cheat-sheet/
“Markdown Cheat Sheet.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/markdown-cheat-sheet/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms