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

Links to section anchors broken? #95

Closed
monkey5an opened this issue Jan 12, 2021 · 1 comment
Closed

Links to section anchors broken? #95

monkey5an opened this issue Jan 12, 2021 · 1 comment

Comments

@monkey5an
Copy link

Issue: Using anchor link—for example, [create an anchor](#anchors-in-markdown)—does not work.

Steps

  1. Create an anchor link in a markdown file that targets a specific section heading in that file.
  2. Build site and test by clicking the link.

Expected: Clicking link would navigate to the appropriate section of that page.

Actual: Clicking link navigates to the top of the page.

Request

Any feedback on what I am doing wrong appreciated.

@monkey5an
Copy link
Author

Resolved: The starter is configured to use gatsby 2.18.10. Updating gatsby to 2.30.1 fixed the issue for me.

I assume it is because it includes this: gatsbyjs/gatsby#25778

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant