hexo init myblog 初始化hexo。
hexo server 启动本地服务,在本地查看博客。
hexo server –draft 启动本地服务,能看到草稿。
hexo clean 清除之前生成的东西
hexo generate/hexo g 生成静态博客页面
hexo deplo/hexo d 部署文章
hexo new newpapername 新建文章
hexo new draft newpagename 新建草稿
hexo publish draftname 发布草稿