使用说明
重新下载hexo-asset-image依赖后,需要将node_modules\hexo-asset-image\index.js中的
在 59 行附近, 将以下代码替换成如下代码
1 | src = "../../image/" + src; |
此方案适用于本人的将typora图片路径为 image/文章标题.assets/xxx.png
然后将图片的image文件夹放到source/路径下
评论
TwikooGitalk
# hahhome.gitee.io **Repository Path**: spongehah/hahhome.gitee.io ## Basic Information - **Project Name**: hahhome.gitee.io - **Description**: welcome to hahhome! - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-09-30 - **Last Updated**: 2023-10-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
使用说明
重新下载hexo-asset-image依赖后,需要将node_modules\hexo-asset-image\index.js中的
在 59 行附近, 将以下代码替换成如下代码
1 | src = "../../image/" + src; |
此方案适用于本人的将typora图片路径为 image/文章标题.assets/xxx.png
然后将图片的image文件夹放到source/路径下