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

More info: Deployment

enable img

  1. 在根目录下配置文件_config.yml 中有 post_asset_folder:false 改为 true

  2. 安装插件

1
npm install https://github.com/7ym0n/hexo-asset-image --save
  1. 应用图片

_posts 目录下会有同名目录,文章中引用目录下的 test.jpg

1
![说明文字](test.jpg)