hexo-image-patch

0.1.0 • Public • Published

hexo-simple-image

Features

Use markdown tag import image.

Installation

npm install hexo-image-patch --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-image-patch

Weekly Downloads

4

Version

0.1.0

License

ISC

Unpacked Size

4.16 kB

Total Files

10

Last publish

Collaborators

  • longfangsong