Samson Umezulike
Samson Umezulike
Increasing the `myst_heading_anchors` variable to the deepest level could get rid of the warnings, it's currently 0 by default. See [MyST Configuration](https://myst-parser.readthedocs.io/en/latest/configuration.html#global-configuration)
Can you provide a full minimal example? Your example includes a lot of unnecessary stuff and link generation works for me when I remove the references to non-existing files.
I could verify that (seemingly?) unnecessary warnings are being printed, I'll try to write a fix for that. The links all seem to work, though.
I thought it might be best to just submit a fix for the bug and work on the other changes in a separate PR. Happy about any feedback!
Closing this in favor of #4272
Thank you so much for the feedback! Calling `adjusted_lines` beforehand is not really necessary. I just used it like one would `sanitize_lines` to make sure that any lines that would...
Thanks for reviewing and approving my PR! Glad to be able to contribute to one of my all-time favorite Python projects :)
So I looked into it and the issue seems to lie here: The tokenizer tracks backslash-escaped newlines by setting the `continued` flag on the line ending with `\`, then skips...
Oh, haha! My first thought was even "That doesn't look allowed" but then it just ran. I'll take a look at how this is handled in CPython and try to...
I've implemented this, but it requires https://github.com/executablebooks/MyST-Parser/pull/887, so waiting on that.