引言
1 | 记录了一下hexo常用的命令, 在维护个人博客的时候经常会用到 |
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
Insert image
1 | {% img [class names] /path/to/image [width] [height] [title text [alt text]] %} |
More info: Deployment