Hexo的使用,常用命令

Welcome to Hexo!
This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

hexo可以快速搭建一个博客,技术分享利器,用markdown语法编辑器写好文章,直接发送到github上,很6逼😯。如果安装配置暂时略,直接看使用

Quick Start

cd dir,进入某个目录,创建一个新的文章

1
$ hexo new "MyHexo"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

push to github

1
$ npm install hexo-deployer-git --save

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

摘要与正文的分割用:”“,以下是正文。

duqian2010@gmail.com