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

URL hash does not work on the translations #341

Closed
koba04 opened this issue Aug 24, 2022 · 2 comments · Fixed by #489
Closed

URL hash does not work on the translations #341

koba04 opened this issue Aug 24, 2022 · 2 comments · Fixed by #489

Comments

@koba04
Copy link
Collaborator

koba04 commented Aug 24, 2022

URL hash doesn't work on the translations because header ids are also translated.

Screen Shot 2022-08-24 at 23 21 57

Screen Shot 2022-08-24 at 23 22 05

https://swr.vercel.app/docs/revalidation#disable-automatic-revalidations
https://swr.vercel.app/ja/docs/revalidation#disable-automatic-revalidations

@koba04
Copy link
Collaborator Author

koba04 commented Aug 27, 2022

@shuding Does Nextra have a way to handle this?

I know the React website extends the header section in markdown like this.

## Server Components {#server-components}

https://github.com/reactjs/reactjs.org/blob/main/content/blog/2022-06-15-react-labs-what-we-have-been-working-on-june-2022.md#server-components-server-components

@shuding
Copy link
Member

shuding commented Aug 27, 2022

It currently can't handle this, but I'll check if it's easy to add the support 🙏

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

Successfully merging a pull request may close this issue.

2 participants