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: include emoji text in nav link to match toc #284

Merged
merged 1 commit into from
Aug 20, 2021
Merged

fix: include emoji text in nav link to match toc #284

merged 1 commit into from
Aug 20, 2021

Conversation

sampullman
Copy link
Contributor

I moved the emoji plugin after anchor/toc to avoid a mismatch between nav link and toc generation. The bug can be seen by clicking the Emoji link in the rendered TOC here: https://vitepress.vuejs.org/guide/markdown.html#table-of-contents

The desired behavior might actually be to strip the emoji text from the nav link, but that's a (slightly) more complicated change and breaks existing links.

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@posva posva merged commit 80ff360 into vuejs:master Aug 20, 2021
YunYouJun pushed a commit to YunYouJun/vitepress that referenced this pull request Aug 30, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants