0%

hexo常用命令

新建编辑

New Post

1
hexo new <title>

新建草稿

1
hexo new draft "myBlog"

草稿转为Post

1
hexo publish draft xxxx.md

新建页面

1
hexo new page "xxxx"

部署上传

生成静态页面

1
hexo g

部署

1
hexo d

本地预览

1
hexo s