如何使用
新建一篇博文
然后用文本编辑器去编辑_posts/这是一篇新的博文.md里的内容即可,注意要使用Markdown格式书写。
详细使用方法可以查阅 https://hexo.io/zh-cn/docs/writing
1 2 3 4 5
| // Git BASH终端 hexo cl && hexo s // 或者 // VSCODE终端 hexo cl; hexo s
|
确认无误后使用以下命令,将本地文章推送至GitHub仓库即可
1 2 3 4 5
| // Git BASH终端 hexo cl && hexo g && hexo d // 或者 // VSCODE终端 hexo cl; hexo g; hexo d
|
VSCODE 终端首次执行报错
使用管理员身份打开 powershell ,输入以下命令
1
| Set-ExecutionPolicy RemoteSigned
|
More info: cmliussss
参考资料
https://hexo.io/zh-cn/
https://www.fomal.cc/posts/e593433d.html
https://docs.anheyu.com/
https://github.com/hexojs/hexo