Markdown Cheat Sheet

Basic Syntax

Heading

1
2
3
# H1
## H2
### H3

Bold

1
**bold text**

Italic

1
*italicized text*

Blockquote

1
> blockquote

Ordered List

1
2
3
1. First item
2. Second item
3. Third item

Unordered List

1
2
3
- First item
- Second item
- Third item

Code

1
`code`

Horizontal Rule

1
---
1
[title](https://www.example.com)

Image

1
![alt text](image.jpg)

Extended Syntax

Table

1
2
3
4
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |

Fenced Code Block

1
2
3
4
5
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}

Footnote

1
2
3
Here's a sentence with a footnote. [^1]

[^1]: This is the footnote.

Heading ID

1
### My Great Heading {#custom-id}

Definition List

1
2
term
: definition

Strikethrough

1
~~The world is flat.~~

Task List

1
2
3
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media

以图表方式打开

markdown-basic-syntax
markdown-extended-syntax

更新记录

  • 19-03-24 修改个别单词拼写
  • 18-11-19 初次整理

参考资料

------ END ------
0%