1
npm un hexo-abbrlink

配置

_config.ymlpost_asset_folder: true 改成下面的

1
2
3
4
5
# https://hexo.io/zh-cn/docs/asset-folders
post_asset_folder: true
marked:
prependRoot: true
postAsset: true

写文章

1
hexo new 1

打开1.md

相对路径引用

images.jpg图片放到1文件夹中,相对路径引用即可

1
![](1/images.jpg)