hexo-simple-image

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i hexo-simple-image

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

3.84 kB

Total Files

6

Last publish

Collaborators

  • xis_