Open podybman opened 11 months ago
You can use post_link tag instead. It's not recommended to write relative link to another post.
But then the link wouldn't follow locally in markdown editors :/
I met the same problem and was wodering if there was a feasible solution.
Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
When using the Markdown for a relative link like
[[My other post]](myotherpost.md)
, I expect the resulting link, after generating the website to link to the correct destination.Actual behavior
The link works in most markdown editors because files are in the same folder, but once it's generated, the URL rewriting of Hexo gets in the way of the link. The link isn't parsed by Hexo at all, it's left as a relative link which cannot work because the URL rewriting adds a few /
How to reproduce?
Is the problem still there under "Safe mode"?
yes
Environment & Settings