前言

因为真的不经常写,所以想写的时候总是忘记怎么发帖子了( ̄~ ̄;),简单记下。

新建页面

进入路径D:\Workspace\blog\wrenxr.githhub.io-hexo-src\source\_posts,运行:

hexo new title

如果标题包含空格的话,使用引号括起来

hexo new “post title with whitespace”

生成静态文件

hexo g

发布

hexo d

外挂标签

note

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% note flat %}
默認 提示塊標籤
{% endnote %}

{% note default flat %}
default 提示塊標籤
{% endnote %}

{% note primary flat %}
primary 提示塊標籤
{% endnote %}

{% note success flat %}
success 提示塊標籤
{% endnote %}

{% note info flat %}
info 提示塊標籤
{% endnote %}

{% note warning flat %}
warning 提示塊標籤
{% endnote %}

{% note danger flat %}
danger 提示塊標籤
{% endnote %}

参考链接