Closed hv0905 closed 3 months ago
post assets doesn't work after upgrading Hexo to latest(v7.2.0).
v7.2.0
The follow syntax in posts:
[screenshot-1](1.png)
Doesn't render the image as a link to {post_path}/1.png, instead, render as /1.png. The 1.png can be access from {post_path}/1.png corrently.
{post_path}/1.png
/1.png
I've enabled markdown.images.post_asset and post_asset_folder in _config.yml
markdown.images.post_asset
post_asset_folder
_config.yml
Render the image into the post's own relative folder corrently.
No response
Windows 11 NodeJS 21.7.1 Hexo 7.2.0 (Affected) Hexo 7.1.1 (Last unaffected version) hexo-renderer-markdown-it 7.1.1 markdown-it 14.1.0
@hv0905 We just released v7.3.0. Would you please try it? This issue maybe fixed.
v7.3.0
Yes. It seems that the problem have been solved in v7.3.0. Thanks!
Check List
Describe the bug
post assets doesn't work after upgrading Hexo to latest(
v7.2.0
).The follow syntax in posts:
Doesn't render the image as a link to
{post_path}/1.png
, instead, render as/1.png
. The 1.png can be access from{post_path}/1.png
corrently.I've enabled
markdown.images.post_asset
andpost_asset_folder
in_config.yml
Expected behavior
Render the image into the post's own relative folder corrently.
How to reproduce
Screenshots
No response
Environment information
Additional context
No response