Markdown 备忘单
2025-02-19 18:24 更新
这是 Markdown 语法的快速参考备忘单。
标题(atx 样式)
# h1
## h2
### h3
#### h4
##### h5
###### h6
标题(settext 样式)
Header 1
========
Header 2
--------
块引用
> This is
> a blockquote
>
> > Nested
> > Blockquote
无序列表
* Item 1
* Item 2
* item 3a
* item 3b
或者
- Item 1
- Item 2
或者
+ Item 1
+ Item 2
或者
- [ ] Checkbox off
- [x] Checkbox on
有序列表
1. Item 1
2. Item 2
a. item 3a
b. item 3b
链接
[link](http://google.com)
[link][google]
[google]: http://google.com
<http://google.com>
重点
*italic*
_italic_
**bold**
__bold__
`inline code`
~~struck out~~
水平线
连字符
---
星号
***
下划线
___
代码
```javascript
console.log("This is a block code")
```
~~~css
.button { border: none; }
~~~
4 space indent makes a code block
内联代码
`Inline code` has back-ticks around it
表
| Left column | Center column | Right column |
|:------------|:-------------:|-------------:|
| Cell 1 | Centered | $1600 |
| Cell 2 | Cell 3 | $12 |
简约风格
Left column | Center column | Right column
:---:|:---:|:---:
Cell 1 | Centered | $1600
Cell 2 | Cell 3 | $12
Markdown表生成器:tableconvert.com
图片


带链接的图片
[](https://github.com/)
[](link_url)
参考款式
![alt text][/images/logo.png]
[logo]: /images/logo.png "Logo Title"
反斜杠转义
人物 | 逃脱 | 描述 |
---|---|---|
\ | \\ | 反斜杠 |
` | \` | 反引号 |
* | \* | 星号 |
_ | \_ | 下划线 |
{} | \{} | 大括号 |
[] | \[] | 方括号 |
() | \() | 括弧 |
# | \# | 井号 |
+ | \+ | 加号 |
—— | \- | 减号(连字符) |
. | \. | 点 |
! | \! | 感叹号 |
以上内容是否对您有帮助:
更多建议: