Hello World
一、标题部分
一级标题11
1123
二级标题223
1231
三级标题346
1231
四级标题158
123123
这是个居中标题
这是左对齐标题
这是右对齐标题
语法
1 2 3 4 5 6 7 8 9 10 11 12
| <h1 style="color:#CC3333">标题部分</h1> # 一级标题11 1123 ## 二级标题223 1231 ### 三级标题346 1231 #### 四级标题158 123123 <h3 align="center" style="color:#00CC00">这是个居中标题</h3> <h3 align="left" style="color:#0099CC">这是左对齐标题</h3> <h3 align="right">这是右对齐标题</h3>
|
二、字体部分
加粗 斜体 下划线 删除线 超链接 H2O y=x2
我是黑体字
我是微软雅黑
我是宋体
12字号
5字号
蓝色
红色
宋体12号蓝色
居中文字
左对齐文字
右对齐文字
语法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <h1 style="color:#CC3333">字体部分</h1> **加粗** *斜体* <u>下划线</u> ~~删除线~~ [超链接](https://b.lhy.life) H~2~O y=x^2^ <font face="黑体">我是黑体字</font> <font face="微软雅黑">我是微软雅黑</font> <font face="宋体">我是宋体</font> <font size=12>12字号</font> <font size=5>5字号</font> <font color=#0099CC>蓝色</font> <font color=#CC3333>红色</font> <font face="宋体" size=12 color=#0099CC>宋体12号蓝色</font> <p align="center" style="color:#00CC00">居中文字</p> <p align="left" style="color:#0099CC">左对齐文字</p> <p align="right">右对齐文字</p>
|
三、格式部分
代码高亮
1 2 3 4 5 6
| server { listen 80; listen [::]:80; server_name lhy.life www.lhy.life; return 301 https://lhy.life$request_uri; }
|
1 2 3 4
| npm install hexo-cli -g hexo init blog cd blog npm install
|
行中短代码install
行中blog
短代码
语法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| ```nginx server { listen 80; listen [::]:80; server_name lhy.life www.lhy.life; return 301 https://lhy.life$request_uri; } ```
```bash npm install hexo-cli -g hexo init blog cd blog npm install ```
行中短代码`install`行中`blog`短代码
|
引用
引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用
二级引用二级引用二级引用二级引用二级引用
语法
1 2
| > 引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用引用 > > 二级引用二级引用二级引用二级引用二级引用
|
有序列表
- 有序列表有序列表有序列表
- 有序列表有序列表有序列表有序列表
- 有序列表有序列表有序列表有序列表
无序列表
- 无序列表无序列表无序列表
- 无序列表无序列表无序列表
- 无序列表无序列表无序列表无序列表
任务列表
语法
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| ### 有序列表 1. 有序列表有序列表有序列表 2. 有序列表有序列表有序列表有序列表 3. 有序列表有序列表有序列表有序列表 ### 无序列表 - 无序列表无序列表无序列表 - 无序列表无序列表无序列表 - 无序列表无序列表无序列表无序列表
### 任务列表 [ ] 任务列表 [ ] 任务列表任务列表 [x] 任务列表任务列表
|
脚注
脚注脚注脚注脚注脚注,脚注脚注脚注脚注脚注脚注脚注脚注脚注脚注脚注
语法
1 2 3 4
| 脚注脚注脚注脚注脚注[^1],脚注脚注脚注脚注脚注[^2]脚注脚注脚注脚注脚注脚注[^3] [^1]: 脚注1说明 [^2]: 脚注2说明 [^3]: 脚注3说明
|
表格
标题1居中 |
标题2左对齐 |
标题3右对齐 |
内容 |
内容 |
内容 |
内容 |
内容 |
内容 |
内容 |
内容 |
内容 |
语法
1 2 3 4 5
| | 标题1居中 | 标题2左对齐 | 标题3右对齐 | | :-------: | :---------- | ----------: | | 内容 | 内容 | 内容 | | 内容 | 内容 | 内容 | | 内容 | 内容 | 内容 |
|
表情
😂🤣😡📱🇨🇳😍
Emoji表情检索:
居中引用 Centered Quote
居中引用,居中引用
语法
1
| {% cq %}居中引用,居中引用{% endcq %}
|
提示块 Note
1 2 3 4
| {% note %} #### Header (without define class style) {% endnote %}
|
(without define class style)
1 2 3 4
| {% note default %} #### Default Header Welcome to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4
| {% note primary %} #### Primary Header **Welcome** to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4
| {% note info %} ### Info Header **Welcome** to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4
| {% note success %} #### Success Header **Welcome** to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4
| {% note warning %} #### Warning Header **Welcome** to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4
| {% note danger %} #### Danger Header **Welcome** to [Hexo!](https://hexo.io) {% endnote %}
|
1 2 3 4 5 6 7 8
| {% note info no-icon %} #### No icon note Note **without** icon: `note info no-icon`
note info, note info, note info note info, note info, note info note info, note info, note info {% endnote %}
|
No icon note
Note without icon: note info no-icon
note info, note info, note info
note info, note info, note info
note info, note info, note info
1 2 3 4 5 6 7 8
| {% note success %} #### Codeblock in note {% code %} code block in note tag code block in note tag code block in note tag {% endcode %} {% endnote %}
|
Codeblock in note
1 2 3
| code block in note tag code block in note tag code block in note tag
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| {% note default %} #### Lists in note * ul * ul * ul * ul * ul
1. ol 2. ol 1. ol 2. ol 3. ol {% endnote %}
|
Lists in note
- ol
- ol
- ol
- ol
- ol
1 2 3 4 5 6 7 8
| #### Table in Note {% note default %} | 1 | 2 | | - | - | | 3 | 4 | | 5 | 6 | | 7 | 8 | {% endnote %}
|
选项卡 Tabs
语法
1 2 3 4 5 6 7 8 9 10 11 12 13
| {% tabs 富强 %} <!-- tab 富强 --> **This is Tab 1.** <!-- endtab -->
<!-- tab 民主 --> **This is Tab 2.** <!-- endtab -->
<!-- tab 和谐 --> **This is Tab 3.** <!-- endtab --> {% endtabs %}
|
折叠块
隐藏内容的标题
隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。
隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。
语法
1 2 3 4 5 6 7 8
| <details> <summary>隐藏内容的标题</summary> 隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。
隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。隐藏文字隐藏文字隐藏文字。
</details>
|
图片
![1.jpg]()
![2.jpg]()
![3.jpg]()