hexojs / hexo-renderer-markdown-it

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
MIT License
340 stars 60 forks source link

When using post asset folders, alternate texts are removed from images #205

Closed bluebirch closed 6 months ago

bluebirch commented 1 year ago

Configuration:

markdown:
  images:
    post_asset: true
    prepend_root: true

Source test.md:

![alt text](image.jpg)

Output:

<p><img src="test/image.jpg" alt=""></p>