Stread's Blog

Markdown Cheatsheet

Markdown Cheatsheet

Headers

1# H1
2## H2
3### H3
4#### H4
5##### H5
6###### H6

Emphasis

1*italic* or _italic_
2**bold** or __bold__
3**_bold and italic_**
4~~strikethrough~~

Lists

Unordered

1- Item 1
2- Item 2
3  - Item 2a
4  - Item 2b

Ordered

11. Item 1
22. Item 2
33. Item 3
4   1. Item 3a
5   2. Item 3b
1[Inline Link](https://www.example.com)
2[Link with Title](https://www.example.com "Title")

Images

1![Alt Text](url/to/image.jpg)
2![Alt Text](url/to/image.jpg "Optional Title")

Code

Inline code: code

Code blocks:

1```
2function test() {
3  console.log("Hello world!");
4}
5```

Syntax highlighting:

1```javascript
2function test() {
3  console.log("Hello world!");
4}
5```

Blockquotes

1> This is a blockquote
2> 
3> > Nested blockquote

Horizontal Rule

1---
2***
3___

Tables

1| Header 1 | Header 2 | Header 3 |
2|----------|----------|----------|
3| Cell 1   | Cell 2   | Cell 3   |
4| Cell 4   | Cell 5   | Cell 6   |

Footnotes

1Here's a sentence with a footnote.[^1]
2
3[^1]: This is the footnote.

Task Lists

1- [x] Completed task
2- [ ] Incomplete task

#markdown

Reply to this post by email ↪