(鸽了)markdown基本语法&hexo使用指北

刚出炉的新鲜博客,自然是要水一篇博文啦。

Markdown

标题

usage:在标题前加入 # 号
example:

# hello world

多级标题:

一级:
# one
二级:
## two
三级:
### three
… …


换行

usage:在句子后面加两个空格后回车
example:

你好。
再见

你好。
再见


分段

usage:两个个段落之间隔一行
example:

A段落
(空行)
B段落

A段落

B段落


引用

usage:再要引用的文字前加 > 号
example:

> hello world

hello world

tips:引用内容若包含markdown语法也会被md渲染(嵌套引用)


粗体

usage:文本前加两个 * 号
example:

**hello** world

hello world


斜体

usage:文本前加一个 * 号
example:

*hello* world

hello world


代码块

usage:把代码包裹在三个反引号 ` 中。语法高亮需要指定一种语言。

``` c++
#include
printf(“hello world”);
```

1
2
#include<cstdio>
printf(hello world);

分割线

usage:


超链接

usage:


图片

usage:


(鸽了)markdown基本语法&hexo使用指北
https://xu-wolf.github.io/posts/67861b1d.html
作者
coolwolf
发布于
2022年12月29日
许可协议