hexo-assets-images

0.1.0 • Public • Published

hexo-asset-image

自动为hexo中的图片提供绝对路径

使用

npm install hexo-asset-image --save

例子

MacGesture2-Publish
├── apppicker.jpg
├── logo.jpg
└── rules.jpg
MacGesture2-Publish.md

修改_config.yml中的post_asset_folder: true

hexo new post [title] 后,会在_posts文件夹下生成同名文件夹,在需要插入图片的地方写![logo](logo.jpg),将插入[title]文件夹下logo.jpg.

fork自https://github.com/xcodebuild/hexo-asset-image

修复了bug

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hexo-assets-images

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.19 kB

    Total Files

    4

    Last publish

    Collaborators

    • yongmaple