Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix myst reference errors #339

Open
mwcraig opened this issue Jun 16, 2023 · 1 comment
Open

Fix myst reference errors #339

mwcraig opened this issue Jun 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mwcraig
Copy link
Member

mwcraig commented Jun 16, 2023

See this for what is likely the fix: https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#auto-generated-header-anchors

Edit: Two ways forward here:

  • Add jupyterlab-myst as a runtime dependency (e.g. in binder, environment, pip requirements, etc)
  • Write a custom function to slugify the anchors.
@mwcraig mwcraig added the bug Something isn't working label Jun 16, 2023
@mwcraig
Copy link
Member Author

mwcraig commented Jun 19, 2023

This turns out to be sort of a mess. See: https://github.com/orgs/executablebooks/discussions/1036

I think the magical myst setting can be put in the sphinx section of the configuration rather than doing a source code hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant