常用hexo 命令
1 | hexo new xxx ==> hexo n xxx, #新建文章 |
组合命令
1 | hexo s -g # 生成本地预览 |
预览部分文字
< !— more — > in your article to break your article manually, which is recommended by Hexo.
遇到hexo generation 出错处理
检查Markedown (vscode markdown语法检查)
1 | hexo clean |
clone whole repository in a new machine
https://iphysresearch.github.io/blog/post/programing/git/git_submodule/
since there is submodule in main repository ( the theme/next)
1 | git clone xxxx (main repository) |
https://hexo.io/zh-cn/docs/commands.html
参考链接
整体配置:https://learnku.com/articles/45697
hexo: https://github.com/next-theme/hexo-theme-next
hexo post settings: https://theme-next.js.org/docs/theme-settings/posts
Q&A
hexo generate编译出错记录
markdown 文件有不合法的link, 比如:1
2
3
4感叹号+[柏松分部 统计出现车辆数](https://newonlinecourses.science.psu.edu/stat414/sites/onlinecourses.science.psu.edu.stat414/files/lesson52/147882_traffic/index.jpg)
[1]. <https://newonlinecourses.science.psu.edu/stat414/node/241/>
大概率是大括号的问题
<200b>符号