hexo-asset-image-k
v0.0.1
Published
Give asset image in hexo a absolutely path automatically. See details on https://github.com/Core00077/hexo-asset-image
Downloads
1
Readme
hexo-asset-image-fixed
本仓库修复了原包在文章标题出现[http]/[https]等关键词时会无法转换src
的问题,
将绝对路径修改会相对路径
This repository fix a bug that Cannot transfer the property 'scr' when the title contains a keyword like[http]/[https]
Usege
npm install hexo-asset-image-k --save
Example
MacGesture2-Publish
├── apppicker.jpg
├── logo.jpg
└── rules.jpg
MacGesture2-Publish.md
确保网站配置_config.yml
中选项设置为:post_asset_folder: true
。
Make sure post_asset_folder: true
in your _config.yml
.
就可以直接使用![logo](logo.jpg)
来插入图片logo.jpg
啦。
Just use ![logo](logo.jpg)
to insert logo.jpg
.