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

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

图片

1.首先把blog(hexo)目录下的_config.yml里的psot_asset_folder:设置为true

2.在blog(hexo)目录下执行:

npm install hexo-asset-image –save

3.在blog(hexo)目录下Git Bash Here,运行hexo n “博客名”来生成md博客时,会在_post目录下看到一个与博客同名的文件夹。

4.将想要上传的图片先扔到文件夹下,然后在博客中使用markdown的格式引入图片:

你想要输入的替代文字

More info: Deployment