hexo-image-patch

simple to use markdown render image.

Usage no npm install needed!

<script type="module">
  import hexoImagePatch from 'https://cdn.skypack.dev/hexo-image-patch';
</script>

README

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.