Markdown Cheatsheet
MarkdownA quick reference guide for all common Markdown syntax with copy-to-clipboard support
Headings
Heading 1–3
# Heading 1 ## Heading 2 ### Heading 3
Alternative H1 / H2
Heading 1 ========= Heading 2 ---------
Text
Bold
**bold text**
Italic
*italic text*
Bold italic
***bold and italic***
Strikethrough
GFM~~deleted~~
Inline code
Use `npm install`
Line break
First line Second line
End a line with two spaces or a backslash.
Escaping
\*not italic\* and \# not a heading
Backslash escapes \ ` * _ { } [ ] ( ) # + - . ! |
Lists
Bullet list
- Apples - Oranges - Blood orange
Numbered list
1. First 2. Second 3. Third
Task list
GFM- [x] Done - [ ] To do
Links & images
Link
[EverydayTab](https://everydaytab.com)
Link with title
[Docs](https://example.com "Hover text")
Reference link
Read the [guide][1]. [1]: https://example.com/guide
Autolink
<https://example.com>
Image

Alt text is shown if the image fails to load and read by screen readers.
No live preview
Blocks
Blockquote
> Quoted text > > > Nested quote
Code block
```js const x = 1; ```
Add a language after the backticks for syntax highlighting.
Horizontal rule
Above --- Below
Table
GFM| Left | Center | Right | | :--- | :----: | ----: | | a | b | c |
GitHub extras
Alert / callout
GFM> [!NOTE] > Useful information. > [!WARNING] > Be careful.
Also [!TIP], [!IMPORTANT] and [!CAUTION]. Rendered on GitHub; shown as quotes elsewhere.
Collapsible section
<details> <summary>Click to expand</summary> Hidden content. </details>
Footnote
GFMA claim.[^1] [^1]: The source.
Supported on GitHub, GitLab and most static-site generators.
No live preview
Mention / issue
GFM@octocat fixed #123
Linked automatically on GitHub only.
No live preview
Emoji shortcode
GFM:tada: :rocket:
GitHub, Slack and Discord convert shortcodes.
No live preview