HEXO的一些用法

锚点的使用

开始

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

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

image1(目录为source/images):cat1
image2:(目录为.deploy_git/images)cat2

1
格式为:![cat1](/images/cat.gif)和![cat2](/images/avatar.gif)

以上用的是相同的格式引用图片,说明图片在这两个目录都可以用相同的方法引用

试一下引用站内文章

JAVA的设计模式总览
1
格式为:{% post_link JAVA的设计模式总览 %}

以上是引用站内文章的方式

结尾