Hexo-Hello World
这是新的开始,我用hexo创建了第一篇文章。
通过下面的命令,就可以创建新文章1
D:\workspace\javascript\nodejs-hexo>hexo new 新的开始
[info] File created at D:\workspace\javascript\nodejs-hexo\source\_posts\新的开始.md
感觉非常好。
标题DEMO——————————–
Markdown语法
H1
H2
H0
H1
H2
H3
H4
H5
H6
区块引用DEMO——————————–
Swig语法
Every interaction is both precious and an opportunity to delight.
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.
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.Suspendisse id sem consectetuer libero luctus adipiscing.
代码区块DEMO——————————–
Swig语法
1 | .compact([0, 1, false, 2, ‘’, 3]); |
Markdown语法
1 | .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语法
粉丝日志Markdown语法
This is an example inline link.
See my About page for details.
I get 10 times more traffic from Google than from Yahoo or MSN.
强调DEMO——————————–
single asterisks
single underscores
double asterisks
double underscores
unfriggingbelievable
*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 <blink>
tags.
—
is the decimal-encoded equivalent of —
.
图片DEMO——————————–
Swig语法

Markdown语法
自动链接DEMO——————————–
反斜杠DEMO——————————–
*literal asterisks*
OTHER——————————–
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 trobuleshooting or you can ask me on GitHub.
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