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

MDX anchor links do not work #553

Open
atomrevival opened this issue Apr 5, 2024 · 0 comments
Open

MDX anchor links do not work #553

atomrevival opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@atomrevival
Copy link

Describe the bug

When using on-page anchor tags to refer to a different section in the markdown, the link does not work.

Reproduction

In an MDX file, write an anchor link to a heading element

## Table of contents

- [Meaning of life](#meaning-of-life)

Long text here...

## Meaning of life

Clicking on the link should lead me to this section

The link tag should redirect the user to the heading "Meaning of life". This works in markdown, but not in MDX.

Environment

  • OS: macOS Sonoma 14.3.1
  • Browser: Google Chrome
  • Version 123.0.6312.107 (arm64)
@atomrevival atomrevival added the needs triage needs to be reviewed label Apr 5, 2024
@tajo tajo added bug Something isn't working good first issue Good for newcomers and removed needs triage needs to be reviewed labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants