This Markdown cheat sheet shows the syntax for headings, bold, italics, links, images, lists, code, blockquotes and tables — the formatting used by GitHub, Reddit, Discord and most documentation tools.
| Element | Markdown syntax |
|---|---|
| Heading 1 | # Heading |
| Heading 2 | ## Heading |
| Bold | **bold text** |
| Italic | *italic text* |
| Strikethrough | ~~struck~~ |
| Link | [title](https://example.com) |
| Image |  |
| Inline code | `code` |
| Code block | ```\ncode\n``` |
| Blockquote | > quoted text |
| Unordered list | - item |
| Ordered list | 1. item |
| Horizontal rule | --- |
| Table | | A | B |\n| --- | --- | |