Open raoulbhatia opened 2 weeks ago
Update: I've stumbled across another issue when using a header like ## 3rd party
.
The auto-generated target is rd-party
in this example.
Removing the 3
seems to resolve the issue.
I today noticed that MyST 4.0.0 is available and upgraded accordingly. Unfortunately, there is no change in behavior.
What version of
myst-parser
are you using?2.0.0
What version dependencies are you using?
Sphinx v7.3.7
What operating system are you using?
Mac
Describe the Bug
(ATTN: Shortened examples)
File
container_intro.md
contains:I have another document
container_from_scratch.md
where I want to reference this header in a link likeThis produces the following error:
Other combinations also do NOT work, e.g. adding an explicit
(lxc-env)=
target:warning: The only way to resolve this WARNING is to REMOVE the dot from the header, e.g.
and changing the link to
container_intro.md#lxc-env-for-environment-variables
.:warning: NOTE: The links work in the end, it is just a distracting, red WARNING
Expected Behavior
No WARNING is issued, parsing works.
To Reproduce
Create 2 documents like above and compile