0%

Markdown learning

格式

代码块

行内式两头加上反引号`

多行代码上下行加三重反引```

段落前加大于号(可分级)
>段落1 >>段落2

三种分割线***或---或___

换行可用<br\>

表格

无序列表 *-+(加号空格)
+ sad
多级列表(前面加tab)

1
2
3
+ 一层
+ 二层
+ 三层

有序列表(数字.空格)
1. first

表格
加空格使对齐(非必要)冒号设置对其方向

1
2
3
4
5
|Tables       |Are          |Cool |
|------ |:----: |----:|
|col 3 is |right-aligned|$1600|
|col 2 is |centered |$12 |
|zebra stripes|are neat |$1 |

字体

小标题前加#(space)
斜前后*
粗前后**
粗斜前后***
删除字前后~~
缩进&emsp;(一个中文字符)
半个&ensp;
四分之一个&nbsp;
居中(html标签)

1
2
<div align=center>(内容)
</div>

链接

超链接
[显示名称](http://www.bilibili.com "注释名称")
直接显示<http://www.bilibili.com>
后方注释[名称1][wangzhi1]

图片链接
![名称](..\images\test.png)
后方注释![名称1][image1]

1
2
[wangzhi1]:http://www.bilibili.com
[image1]:..\images\test.png

详细语法
csdn教程

博客搭建参考
koorye的博客