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.

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

Code with path

{% codeblock _config.yml %}
# Sitemap
sitemap:
path: sitemap.xml
{% endcodeblock %}
_config.yml
1
2
3
# Sitemap
sitemap:
path: sitemap.xml

MathJax

$x^{y^z}=(1+{\rm e}^x)^{-2xy^w}$

$x^{y^z}=(1+{\rm e}^x)^{-2xy^w}$

More info: MathJax

Imgur

![Here is alt desc](imgurl)

Title

### Title
### Title #####

Code block with fence

`````
```
test
```
`````

Git diff

```diff=
def double(num)
- num^2
+ num*2
end
```
1
2
3
4
def double(num)
- num^2
+ num*2
end

Label

themes/next/_config.yml
1
2
# Label tag
label: true
primary default success info warning danger
{% label primary@primary %}
{% label default@default %}
{% label success@success %}
{% label info@info %}
{% label warning@warning %}
{% label danger@danger %}

Font-awesome

<i class="fa fa-paper-plane"></i> <i class="fa fa-align-center"></i>

More info: Font Awesome

0%