1. 插入 链接到标题
(1). 插入图片 链接到标题
Markdown 的完整图片语法是
没图? 用于源码模式和图片未成功加载提示图片用途 /images/ceshi.png 是图片地址,可以是本地的也可以是网络图床 hugo 是图片标题,默认是鼠标悬浮显示
图片说明 链接到标题
这是示例图片的说明文字。
(2). 插入视频 链接到标题
使用 HTML 插入视频 链接到标题
假设视频存储在 static/videos
目录下:
视频说明 链接到标题
这是示例视频的说明文字。
(3). 插入代码块 链接到标题
Python 代码块 链接到标题
def hello_world():
print("Hello, world!")
2. 字体 链接到标题
示例:
**这是加粗的文字**
*这是斜体的文字*`
***这是斜体加粗的文字***
~~这是加删除线的文字~~
效果:
这是加粗的文字
这是斜体的文字`
这是斜体加粗的文字
这是加删除线的文字
3. 引用 链接到标题
示例:
>这是引用的内容
>>这是引用的内容
>>>>>>>>>>这是引用的内容
效果:
这是引用的内容 测试
这是引用的内容 测试
这是引用的内容 测试
4. 列表 链接到标题
示例:
| Left Aligned | Right Aligned | Center Aligned |
|:-------------|--------------:|:--------------:|
| Text | Text | Text |
| More Text | More Text| More Text |
效果:
Left Aligned | Right Aligned | Center Aligned |
---|---|---|
Text | Text | Text |
More Text | More Text | More Text |
5. 任务列表 链接到标题
示例:
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
效果:
- Write the press release
- Update the website
- Contact the media
6. emoji 链接到标题
示例:
:tent:
效果: ⛺
emoji表格:https://gist.github.com/rxaviers/7360908
7. 设置 链接到标题
1. markdownlint-json配置 链接到标题
取消html的标签报警告问题 在markdownlint:config中设置setting.json的markdownlint.config。
"markdownlint.config": {
"default": true,
"MD033": {
"allowed_elements": [ "font", "li", "table", "tr", "td" ,"ul","strong","summary","details"]
}
}
```
需要什么html的标签取消警告,就把标签名放到MDO33中。