title: 测试-Hello Hexo
date: 2000-05-13 12:53:54
updated: 2015-08-15 17:00:00
permalink: test-hello-hexo
tags:
- 测试
categories:
- 测试
---
这是**新的开始**,我用hexo创建了第一篇文章。
通过下面的命令,就可以创建新文章
```{bash}
D:\workspace\javascript\nodejs-hexo>hexo new 新的开始
[info] File created at D:\workspace\javascript\nodejs-hexo\source\_posts\新的开始.md
```
感觉非常好。
## 标题DEMO--------------------------------
#### Markdown语法
This is an H1
=============
This is an H2
-------------
H0
# H1
## H2
### H3
#### H4
##### H5
###### H6
## 区块引用DEMO--------------------------------
#### Swig语法
{% blockquote
Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
Every interaction is both precious and an opportunity to delight.
{% endblockquote %}
#### Markdown语法
> Every interaction is both precious and an opportunity to delight.
> This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.
## 列表DEMO--------------------------------
#### Markdown语法
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Suspendisse id sem consectetuer libero luctus adipiscing.
1. This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
1. Suspendisse id sem consectetuer libero luctus adipiscing.
## 代码区块DEMO--------------------------------
#### Swig语法
{% codeblock .compact http://underscorejs.org/#compact Underscore.js %}
.compact([0, 1, false, 2, ‘’, 3]);
=> [1, 2, 3]
{% endcodeblock %}
#### Markdown语法
```{bash}
.compact([0, 1, false, 2, ‘’, 3]);
=> [1, 2, 3]
```
.compact([0, 1, false, 2, ‘’, 3]);
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
## 分隔线DEMO--------------------------------
***
---
## 链接DEMO--------------------------------
#### Swig语法
{% link 粉丝日志 http://mjiayou.com true 粉丝日志 %}
#### Markdown语法
[粉丝日志](http://mjiayou.com)
This is [an example](http://example.com/ "Title") inline link.
See my [About](/about/) page for details.
I get 10 times more traffic from [Google][1] than from [Yahoo][2] or [MSN][3].
[1]: http://google.com/ "Google"
[2]: http://search.yahoo.com/ "Yahoo Search"
[3]: http://search.msn.com/ "MSN Search"
## 强调DEMO--------------------------------
*single asterisks*
_single underscores_
**double asterisks**
__double underscores__
un*frigging*believable
\*this text is surrounded by literal asterisks\*
## 代码DEMO--------------------------------
Use the `printf()` function.
``There is a literal backtick (`) here.``
A single backtick in a code span: `` ` ``
A backtick-delimited string in a code span: `` `foo` ``
Please don't use any `` tags.
`—` is the decimal-encoded equivalent of `—`.
## 图片DEMO--------------------------------
#### Swig语法
{% img /images/20000513-1.jpg 400 600 这是一张图片 %}
#### Markdown语法
![这是一张图片](/images/20000513-1.jpg)
![这是一张图片][1]
[1]: /images/20000513-1.jpg "这是一张图片"
## 自动链接DEMO--------------------------------
<http://example.com/>
<address@example.com>
## 反斜杠DEMO--------------------------------
\*literal asterisks\*
## OTHER--------------------------------
Welcome to [Hexo](http://hexo.io/)! This is your very first post. Check [documentation](http://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [trobuleshooting](http://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/tommy351/hexo/issues).
## Quick Start
### Create a new post
``` bash
$ hexo new "My New Post"
```
More info: [Writing](http://hexo.io/docs/writing.html)
### Run server
``` bash
$ hexo server
```
More info: [Server](http://hexo.io/docs/server.html)
### Generate static files
``` bash
$ hexo generate
```
More info: [Generating](http://hexo.io/docs/generating.html)
### Deploy to remote sites
``` bash
$ hexo deploy
```
More info: [Deployment](http://hexo.io/docs/deployment.html)