长期更新,把hexo和常用命令都放在这里。
常用命令
1.测试排版和内容:hexo s
2.发布:hexo clean&&hexo g&&hexo d
3.新建(简易):hexo new new_title
建立一个名为new_title的新博文
4.建立分类的方法,参照下面两篇博文:
https://linlif.github.io/2017/05/27/Hexo%E4%BD%BF%E7%94%A8%E6%94%BB%E7%95%A5-%E6%B7%BB%E5%8A%A0%E5%88%86%E7%B1%BB%E5%8F%8A%E6%A0%87%E7%AD%BE/
https://blog.csdn.net/winter_chen001/article/details/79719154
5.图床:
参考视频:https://www.bilibili.com/video/BV1w741167qZ/?spm_id_from=333.788.videocard.5
md写作方法积累
1.代码:```
不同语言种类详见:
https://www.jianshu.com/p/1f223eb78ad8
2.正文的大标题:##;小标题:###等
容易掉的坑
1.顶头的tags的冒号后打空格!(vscode中看到蓝色字和肉色字共存)
2.remote: Support for password authentication was removed on August 13, 2021.
上传时如果遇到此bug,解决方法:https://blog.csdn.net/weixin_41010198/article/details/119698015