hexo-renderer-pandoc
hexo-renderer-pandoc copied to clipboard
Can I set the resource root path?
I use typora to write md file.
When I insert picture in my article xxx.md, typora will create a directory named xxx and put picture in it, then insert in my article.
When I used hexo-renderer-marked, I can write following config to make it generate the web page with picture url like http://example.com/xxx/yyy.png.
post_asset_folder: true
marked:
prependRoot: true
postAsset: true
However, I have not found a way to set hexo-renderer-pandoc to use such a resource url. Now it generate the web page with picture url live http://example.com/xxx/xxx/yyy.png (a wrong path).
Now I use hexo-asset-img to solve it temporarily