executablebooks / MyST-Parser

An extended commonmark compliant parser, with bridges to docutils/sphinx
https://myst-parser.readthedocs.io
MIT License
751 stars 197 forks source link

Anchor links only working with extension #825

Open Kamik423 opened 11 months ago

Kamik423 commented 11 months ago

Say I am writing foo.md and I want to reference bar.md. I can reference that file with [](bar.md) or [](bar). If I now however want to reference the heading heading in bar.md, [](bar.md#heading) works perfectly, but [](bar#heading) does not.

I am using

myst-parser==2.0.0
Sphinx==6.2.1
welcome[bot] commented 11 months ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: