【Markdown】Markdown基本语法

基础语法

元素Markdown语法
标题(Heading)# H1
## H2
### H3
粗体(Bold)**bold text**
斜体(Italic)*italicized text*
引用块(Blockquote)> blockquote
引用块(Blockquote)1. First item
2. Second item
3. Third item
无序列表(Unordered List)- First item
- Second item
- Third item
代码(Code)`code`
分隔线(Horizontal Rule)---
链接(Link)[title](https://www.example.com)
图片(Image)![alt text](image.jpg)

扩展语法

元素Markdown语法
表格(Table)| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
代码块(Fenced Code Block)```
{
  “firstName”: “John”,
  “lastName”: “Smith”,
  “age”: 25
}
```
脚注(Footnote)Here’s a sentence with a footnote. [^1]
[^1]: This is the footnote.
标题编号(Heading ID)### My Great Heading {#custom-id}
定义列表(Definition List)term
: definition
删除线(Strikethrough)~~The world is flat.~~
任务列表(Task List)- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media

进阶语法

markdown的进阶语法实际上使用的是html中的语法

元素Markdown语法效果
下划线<u>句子</u>句子
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值