Insert Images to an Hexo Post
First, execute the following command to install hexo-asset-image plugin.
1 | npm install hexo-asset-image --save |
Next, please head to _config.yml to enable post_asset_folder.
1 | post_asset_folder: true |
From now on, for each time hexo new [layout] <title>
is executed, hexo will simoutanuously create a folder having the same name as your new post’s title. If you want to insert images to your post, just