hexo-renderer-marked
hexo-renderer-marked copied to clipboard
Can postAsset render exclude post name?
Currently,
- "image.jpg" is located at "/2020/01/02/foo/image.jpg", which is a post asset of "/2020/01/02/foo/".
-

becomes<img src="/2020/01/02/foo/image.jpg">
But always I write posts at "/2020/01/02/foo.md" and thus if I write image link like 
then it's violate with markdown semantic, which should have been 
.
I wonder whether we can render the link with prefix "/2020/01/02" and thus I can write normal markdown even if it's not rendered.
You can refer to it.
md img render part improvement of hexo-render-marked #216 #216
Please join the discussion in https://github.com/hexojs/hexo-renderer-marked/issues/216