1. Hexo 文章模板
打开并编辑 scaffolds/post.md
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| --- title: {{ title }} date: {{ date }} thumbnail: /images/flower.jpg toc: true categories: - uncategorized tags: ---
<div style = "text-align: center; margin: auto; width: 100%;">
![Car](../images/Car.jpg)
</div>
|
打开并编辑 scaffolds/page.md
1 2 3 4 5 6
| --- title: {{ title }} date: {{ date }} thumbnail: /images/flower.jpg toc: false ---
|
2. 首页文章截断,显示 阅读更多 按钮
3. 标题级别
1 2 3 4 5 6
| # 这是一级标题 ## 这是二级标题 ### 这是三级标题 #### 这是四级标题 ##### 这是五级标题 ###### 这是六级标题
|
4. 插入图片并居中
1 2 3 4 5 6 7 8 9 10
| <div style = "text-align: center; margin: auto; width: 50%;">
![Leaf][Leaf]
![Car][Car]
[Leaf]: ../images/Foliage_Dylan_Luder.jpg [Car]: ../images/Car.jpg "Car"
</div>
|
图片效果
5. 插入网页链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| [Hexo Built-in Tag Helpers](https://blog.zhangruipeng.me/hexo-theme-icarus/Configuration/Posts/hexo-built-in-tag-helpers/)
当知道 [搜狗][2] 可以搜索微信和知乎时,我慢慢爱上了 [搜狗][2]。学术搜索还是用 [Google][1] 靠谱。也会用 [Bing][4] 和 [百度][3],毕竟各有所长。
[1]: https://www.google.com/ "Google" [2]: https://www.sogou.com/ "Sogou" [3]: https://www.baidu.com/ "Baidu Search" [4]: https://cn.bing.com/ "Bing Search"
早饭后,我打开 [每日英语听力][listen] 学习英语。遇到不懂的英语单词,我借助 [欧路在线词典][ONLINE] 查看释义并加入生词本,方便使用 [客户端][khd] 随时记忆单词。
[Listen]: https://dict.eudic.net/ting "每日英语听力" [Online]: https://dict.eudic.net/ "《欧路词典》在线版" [Khd]: https://www.eudic.net/v4/en/app/eudic "《欧路词典》英语翻译软件"
|
链接效果
Hexo Built-in Tag Helpers
当知道 搜狗 可以搜索微信和知乎时,我慢慢爱上了 搜狗。学术搜索还是用 Google 靠谱。也会用 Bing 和 百度,毕竟各有所长。
早饭后,我打开 每日英语听力 学习英语。遇到不懂的英语单词,我借助 欧路在线词典
查看释义并加入生词本,方便使用 客户端 随时记忆单词。