Markdown cheatsheet
Basic Syntax
Supported by all markdown renderers
Element | Markdown syntax | Looks like |
---|---|---|
Heading | # H1 ## H2 ### H3 |
H1H2H3 |
link | [title](https://www.example.com) | title |
image | ![This is a cat](cat.png) | |
Bold | **bold text** | bold text |
Italic | *italicized text* | italicized text |
Blockquote | > blockquote | blockquote |
Ordered List | 1. First item 2. Second item 3. Third item |
1. First item 2. Second item 3. Third item |
Bullet list | - First item - Second item - Third item |
• First item • Second item • Third item |
Code | `code` | code |
Horizontal Rule | --- | ___________ |
Extended Syntax
Supported by most but not all markdown renderers
Element | Markdown synatx | Looks like | ||||||
---|---|---|---|---|---|---|---|---|
Table | |Time |Speed | |———|———| |60 seconds| 1 mile per hour| |30 seconds| 2 miles per hour| |
|
||||||
Strikethrough | I have 1 ~~trillion~~ dollars | I have 1 |
||||||
Emojis | Haha thats so funny :laughing: | Haha thats so funny 😀 | ||||||
Superscript | 10^2^ = 100 | 102 = 100 | ||||||
Subscript | CO~2~ | CO2 | ||||||
Highlight | This word is ==highlighted==. | This word is highlighted. | ||||||
Fenced Code Block | ``` print(“Hello World”) ``` |
|
||||||
Footnotes | The Earth is approximately 4.5 billion years old. [^1] [^1]: Footnote |
The Earth is approximately 4.5 billion years old. 1
|
||||||
Task List | - [x] Eat - [x] Play - [x] Sleep - [ ] Repeat |
|