markdown基本用法

2021-03-31

Mark down基本语法

一、标题

1
从 # 到 ###### 分别代表了一级标题——六级标题

二、字体

加粗

1
** 内容 **

斜体

1
* 内容 *

斜体加粗

1
*** 内容 ***

删除线

1
~~ 内容 ~~

三、引用

1
> 内容 
效果如下:

内容

四、分割线

1
--- 或 *** 
效果如下:

五、图片

1
![图片下面的解释文件](图片地址 "图片的标题")
效果如下:

图片下面的解释文件

六、超链接

1
[超链接名](超链接地址 "title")
效果如下:

百度

七、列表

1
2
3
4
5
6
7
8
9
无序列表使用:
- 列表
+ 列表
* 列表

有序列表使用:
1. 列表
2. 列表
3. 列表
注:列表嵌套的时候在上下级敲3个空格即可

八、表格

1
2
3
4
表头|表头|表头
--|:--:|--:
内容|内容|内容
内容|内容|内容
效果如下:
表头 表头 表头
内容 内容 内容
内容 内容 内容
注:-没有数量限制,且:–:表示水平居中,而–:表示向右对齐

九、代码

1
2
3
4
5
6
单行代码使用:
`代码内容`
多行代码使用:
(```)
代码内容
(```)

Read More

Hello World

2021-03-31

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server or hexo s

More info: Server

Generate static files

1
$ hexo generate or hexo g

More info: Generating

Deploy to remote sites

1
$ hexo deploy or hexo d

More info: Deployment

Clean the cache

1
$ hexo clean

Read More