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.
Quick Start
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
Mermaid
installation:
1 | npm install hexo-mermaid-diagrams |
usage:
1 | {% mermaid type %} |
e.g.
1 | {% mermaid %} |
Math
默认render会把latex公式中的_
渲染成HTML中的<i>
, 需要更换render。
1 | npm install hexo-math --save |
注意, kramed
的inline公式需要改变写法,增加单行代码引用包围, 例如:
1 | `$a_t$` |