Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

hexo-simple-image

Features

Use markdown tag import image.

Installation

npm install hexo-simple-image --save

Option

configure it in _config.yml.

post_asset_folder: true

Usage

New Post

After setting option, when creating a new article, a folder will be automatically generated to place pictures.

+ source
    + _post
        + new_post.md
        + new_post
            + new_post.png

After that you can use it like

![my post image](./new_post/new_post.png)

Old Post

You should create a folder manually with the same name as the post. After the same as new post.