executablebooks / MyST-Parser

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

Project-wide resolution not working for directive labels? #942

Open agoose77 opened 4 months ago

agoose77 commented 4 months ago

@chrisjsewell could you provide some insight into why

foo.md:

:::{figure} img.png
:label: img:foo

An image
:::

bar.md:

[](#img:foo)

Doesn't resolve to a cross-reference between bar and foo?