写作
创建一篇文章
1
| hexo new 2023-10-11-使用Hexo
|
插入图片
1
| ![062005161512378.jpg](2023-10-11-使用Hexo/062005161512378.jpg)
|
文档分类和标签定义
1 2 3 4 5 6 7 8
| --- title: 使用Hexo date: 2023-10-11 18:40:44 tags: - 教程 - hexo categories: 教程 ---
|
文本居中
文本居中效果演示
1 2 3 4 5 6 7 8 9
| <!-- HTML方式: 直接在 Markdown 文件中编写 HTML 来调用 --> <!-- 其中 class="blockquote-center" 是必须的 --> <blockquote class="blockquote-center">blah blah blah</blockquote>
<!-- 标签 方式,要求版本在0.4.5或以上 --> {% centerquote %}blah blah blah{% endcenterquote %}
<!-- 标签别名 --> {% cq %} blah blah blah {% endcq %}
|
bootstrap
1
| {% note primary %} Content (md partial supported) {% endnote %}
|
其中,class_name 可以是以下列表中的一个值:
default
primary
success
info
warning
danger
Content (md partial supported)