高考一年过后,博主的记忆力竟已退化到了今天学明天忘的地步
又因为不忍心删除hexo默认的文章,所以修改成为了给自己看的使用指南!
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
基本操作
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
Markdown语法
basic
1 | **加粗** |
加粗1
*斜体*
斜体1
~~划去~~
划去1
2
3# 一级标题
## 二级标题
###三级标题1
2>引用
>>嵌套引用
引用
嵌套引用
1
2
3
4
5
6 1.
3.
6.
-or*or+
+ [ ] ?
+ [x] !
1.
3.
6.
-
- [ ] ?
- [x] !
1 |  |
图片插入1
`特殊名词`
特殊名词
1
2
3\```语言
(代码)
\```
这是代码块1
--- or ***
分割
符号
1 | [超链接显示名](超链接地址 "超链接title") |
1 | | 左对齐 | 居中对齐 | 右对齐 | |
左对齐 | 居中对齐 | 右对齐 |
---|---|---|
文本1 | 文本2 | 文本3 |
文本4 | 文本5 | 文本6 |
更复杂的表格请使用HTML<\table>标签
详见:Markdown语法
其他html运用
1 | {% blockquote David Levithan, Wide Awake %} |
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
1 | <font color=CadetBlue>改变字体颜色</font> |
改变字体颜色
颜色见:支持的颜色
markmap
1 | {% markmap 800px %}` `{% endmarkmap %} |
主页摘要设置
1 | 摘要显示的内容 |
也可以使用文章标签abstract:
不过在本主题下,使用abstract标签的话在主页显示摘要和标题会贴在一起
使用<!--more-->
会有一定距离
所以大部分情况下使用的是<!--more-->
文章指定
设置sticky:
数字大的在上面