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.

Quick Start

hexo

install

  • install node.js
  • install Git
  • install hexo
    1
    npm install -g hexo-cli

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

安装福昕阅读器之后,会出现4000端口被占用的情况,修改端口号即可

1
$ hexo s -p 5000

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

More Tips:

数学符号

Latex math symbol

主题个性化

hexo流程图

hexo-filter-flowchart


Hexo之NexT主题搭建博客详细过程

Hexo doc