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

[Feature]: Heading IDs customization support #198

Closed
Tracked by #133
hustcer opened this issue Oct 17, 2023 · 4 comments
Closed
Tracked by #133

[Feature]: Heading IDs customization support #198

hustcer opened this issue Oct 17, 2023 · 4 comments
Assignees

Comments

@hustcer
Copy link

hustcer commented Oct 17, 2023

What problem does this feature solve?

I am trying to migrate from docusaurus to rspress just to find that the customization of heading ids havn't been supported yet, something like this: https://docusaurus.io/docs/markdown-features/toc#heading-ids

What does the proposed API look like?

Some feature just like docusaurus provides

@sanyuan0704
Copy link
Collaborator

Thanks for feedback! I will support the feature right away.

@sanyuan0704
Copy link
Collaborator

Rspress v1.1.0 has support custom header id by default.https://rspress.dev/guide/basic/use-mdx.html#customizing-anchor-id

@sanyuan0704
Copy link
Collaborator

@hustcer

@hustcer
Copy link
Author

hustcer commented Oct 19, 2023

Wow, That's great, thanks 👍

@hustcer hustcer closed this as completed Oct 21, 2023
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

2 participants