sshuair's note

Hello World

2016-09-10

  1. hexo install
1
2
3
4
5
6
npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server
npm install hexo-deployer-git --save
  1. 数学公式支持:
    npm install hexo-fs –save
    npm install hexo-renderer-mathjax –save
    然后在站点的yml添加plugins: hexo-renderer-mathjax即可
    注意:数学公式中的_与markdown冲突,需要用\_转义

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.
Simple inline $a = b + c$.

Quick Start

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

More info: Deployment

扫描二维码,分享此文章