Hello World

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.

1. Quick Start

1.1 Create a new post

1
$ hexo new "My New Post"

[ZiYuan Ps:] 不使用hexo命令也可以新建post,直接在_post目录下新建markdown文件即可,
只不过需要自己加入title,date,tags标记。
More info: Writing

1.2 Run server

1
$ hexo server

[ZiYuan Ps:] 生成后即可访问localhost:4000
More info: Server

1.3 Generate static files

1
$ hexo generate

More info: Generating

1.4 Deploy to remote sites

1
$ hexo deploy

More info: Deployment

[ZiYuan Ps:]
总结:

  1. 最常用的命令只有三个:hexo g, hexo s, hexo d
  2. 墙裂推荐zhaowei的博客

2. 进阶

2.1 代码高亮

使用符号:`
代码段
``` 语言类型
bla bla bla
```
注意结束时不要有空格。

行内代码
`bla bla`

2.2 Latex

参考http://catx.me/2014/03/09/hexo-mathjax-plugin/解决公式的显示问题。

2.3 超链接

[连接描述](连接地址)

热评文章