Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

CoreJa/hexo-asset-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

由于提交PR后原作者一直没有更新,暂时将此仓库作为新的npm包发布。

Because of my PR being ignored by the author, who seems will not maintain this repository anymore, I published this repository as the new npm package temporarily.

自动将hexo中的图片资源替换为绝对路径

Give asset image in hexo a absolutely path automatically

Usege

npm install hexo-asset-image-fixed --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.

About

Give asset image in hexo a absolutely path automatically

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%