Developer Tools
Markdown Cheat Sheet
Searchable Markdown cheat sheet with rendered previews and copy-ready snippets for CommonMark, GitHub, GitLab, Reddit, Discord, Slack, and Obsidian.
Filter by flavor
Filter by family
Selected snippet
Heading 1
Top-level heading. Use one per document for the page title.
Setext form (underlined with equals signs) is allowed by CommonMark and many renderers.
Syntax
# Heading 1
Alternative syntax
Heading 1 =========
Rendered preview
Heading 1
Also searched as
h1 · title · page title · setext
Flavor legend
Each snippet lists the flavors that support it.
CommonMark
The portable Markdown baseline. Most static-site generators, Pandoc, and modern renderers implement it.
GitHub
GitHub Flavored Markdown. Adds tables, task lists, strikethrough, autolinked URLs, alerts, and footnotes.
GitLab
GitLab Flavored Markdown. Mostly GFM-compatible with extra MathJax, mermaid, and table-of-contents tokens.
Obsidian
Obsidian notes. Adds wiki-links, embeds, callouts, highlights, and inline tags.
Reddit
Reddit comments. Supports headings, bold, italic, strikethrough, superscript, and code; ignores some inline HTML.
Discord
Discord messages. Adds underline (__) and spoilers (||), supports a subset of fences and inline code.
Slack
Slack messages. Uses *bold*, _italic_, ~strike~, and `code` with single delimiters and a single backtick.
Full reference table
Headings
Heading 1
# Heading 1
Heading 2
## Heading 2
Heading 3
### Heading 3
Heading 4
#### Heading 4
Heading 5
##### Heading 5
Heading 6
###### Heading 6
Emphasis
Bold
**bold text**
Italic
*italic text*
Bold and italic
***bold and italic***
Strikethrough
~~struck text~~
Underline (Discord and Obsidian)
__underlined text__
Highlight
==highlighted text==
Subscript
H~2~O
Superscript
x^2^
Spoiler (Discord)
||hidden text||
Lists
Bulleted list
- First item ...
Numbered list
1. First item ...
Nested list
- Outer item ...
Links and images
Inline link
[link text](https://example.com)
Autolink (URL)
<https://example.com>
Autolink (email)
<name@example.com>
Reference-style link
Read the [docs][1] for more. ...
Image

Code
Inline code
Run `npm install` first.
Fenced code block
```js ...
Indented code block (legacy)
function add(a, b) { ...
Slack code block
```code goes here on the same line```
Blockquotes
Blockquote
> A line of quoted text. ...
Nested blockquote
> Outer quote. ...
Tables
Basic table
| Name | Score | ...
Table with column alignment
| Left | Center | Right | ...
Horizontal rule
Horizontal rule
---
Breaks and escapes
Hard line break
First line. ...
Paragraph break
First paragraph. ...
Escape a Markdown character
Use a backslash to escape \*literal asterisks\*.
Task lists
Task list
- [ ] Open task ...
Footnotes and references
Footnote
Here is a footnote reference[^1]. ...
Definition list
Term ...
GitHub Flavored extras
GitHub alert
> [!NOTE] ...
Collapsible section
<details> ...
Mention
Ping @username so they get a notification.
Issue and PR reference
Fixes #123 and closes user/repo#456.
Emoji shortcode
Tests passed :white_check_mark: shipped :rocket:.
Platform-specific syntax
Wiki link (Obsidian)
Open [[Page name]] to jump to another note.
Embed (Obsidian)
![[Other note]]
Callout (Obsidian)
> [!info] ...
Quote and superscript (Reddit)
>!spoiler text!<
Block quote (Slack)
> Single-line quote ...
Table of contents (GitLab)
[[_TOC_]]
This cheat sheet covers 49 Markdown snippets across the portable CommonMark baseline and the most popular flavors: GitHub Flavored Markdown, GitLab Flavored Markdown, Obsidian, Reddit, Discord, and Slack. Snippets render exactly as the named flavor would interpret them. Need to convert Markdown to HTML, count words inside Markdown, or generate a table of contents? Reach for the related tools below.
How to use
- Type a name (heading, table, task list, link), a Markdown character (**, > , ```), or the flavor (github, slack) into the search box.
- Use the Flavor pills to limit the catalog to CommonMark, GitHub, GitLab, Obsidian, Reddit, Discord, or Slack.
- Use the Family pills to narrow further to headings, emphasis, lists, links and images, code, tables, or any other group.
- Click any snippet card to pin it. The detail panel shows the syntax, alternative syntax, the rendered preview, supported flavors, and copy buttons.
- Open the Full reference table at the bottom and click Copy table TSV to paste the whole catalog into a wiki page, README, or onboarding doc.
About this tool
Markdown Cheat Sheet is a searchable, copy-ready reference for the Markdown syntax that writers, developers, and content teams reach for every day. Every snippet stores the exact characters to type, a short name and family, the flavors that accept it, an alternative form where one exists, longer notes for edge cases, and a hand-authored rendered preview that mirrors what the named flavor would emit so you can confirm the shape of the result at a glance without running a Markdown engine. The catalog covers the portable CommonMark baseline plus the most popular flavors: GitHub Flavored Markdown (tables, task lists, strikethrough, autolinked URLs, alerts, footnotes, mentions, issue references, and emoji shortcodes), GitLab Flavored Markdown (most of GFM plus table of contents and definition lists), Obsidian (wiki links, embeds, callouts, highlights), Reddit (spoilers, superscript), Discord (underline, spoilers, single-line fences), and Slack (single-asterisk bold, single-underscore italic, single-tilde strikethrough, triple-greater-than block quote). Snippets are grouped into thirteen families that match how people actually search: headings, emphasis, lists, links and images, code, blockquotes, tables, horizontal rule, breaks and escapes, task lists, footnotes and references, GitHub Flavored extras, and platform-specific syntax. Filters work in both directions: pick a family to scan one topic at a time, pick a flavor to see only what your target renderer accepts, or combine them to drill in further. Search matches against the snippet name, family label, summary, aliases, and the syntax itself, so type heading, table, task list, callout, footnote, escape, spoiler, or any actual Markdown characters like ** or > and the right snippet rises to the top. Click any card to pin the detail view, which exposes the syntax, the alternative syntax where one exists, the rendered preview at full size, the supported flavors, search aliases, and copy buttons for every form you might paste. A flavor legend explains what each flavor is and where it is rendered, and a full reference table at the bottom groups every snippet by family with a Copy table TSV button so you can drop the whole catalog into a wiki page, design-system docs, or onboarding handbook. Everything is bundled at build time and runs entirely in the browser. There is no upload, no external API, no remote dictionary, and nothing you click is sent to a server. Need to write Markdown interactively, generate a table of contents, build a Markdown table from data, or convert Markdown to HTML? Reach for the related tools at the bottom of the page.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Markdown Editor
Live markdown editor with toolbar, preview, table of contents, and .md or .html download.
Open tool
TextMarkdown TOC Generator
Build a GitHub-style Markdown table of contents from any document.
Open tool
GeneratorMarkdown Table Generator
Editable grid, column alignment, paste from spreadsheet, live preview.
Open tool
ConverterMarkdown to HTML Converter
Convert Markdown to clean HTML with a live preview and copy button.
Open tool
DeveloperMarkdown Table Formatter
Realigns GFM pipe tables in source view with per-column alignment.
Open tool
TextMarkdown Word Counter
Word count for Markdown that ignores code, syntax, frontmatter, and URLs.
Open tool