Cheatsheet
← All cheat sheets

Markdown cheat sheet

Markdown turns plain text into formatted text. It works in GitHub, Notion, Obsidian, Reddit, Discord and many note apps. Click an example to copy it.

Headings

Biggest heading (one per page is usual)
Section heading
Smaller heading, down to ###### for level 6

Emphasis

Bold
Italic (_italic_ works too)
Bold and italic
Crossed out
Inline code in a fixed-width font

Lists

Bulleted list (* or + also work)
Numbered list
Nested list: indent with two spaces
Task list with checkboxes

Links and images

Link with text
Link that shows the address
Image; the alt text describes it for screen readers
Image that is also a link
Reference link: the address is listed further down

Code

Code block between three backticks
Code block with colors for a language
Code block by indenting four spaces

Quotes, lines and breaks

Block quote
Quote inside a quote
Horizontal line
New paragraph: leave an empty line
Line break inside a paragraph: end the line with \ (or two spaces)
Show a symbol as is: put \ before it

Tables

Table: the second line separates the header
Align columns left, center or right

Extras (GitHub and many apps)

Footnote
Emoji shortcode (in GitHub, Slack, Discord…)
Collapsible section
Callout box on GitHub (also TIP, WARNING…)

Basic syntax works everywhere; tables, task lists, strikethrough and footnotes depend on the app.

Something not working?

Send feedback

What is it?

The page you’re on, your browser and your screen size are sent along to help us fix it. Never your files or what you typed into the tool.