-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
unescaped \ escaping char in sidebar titles #155
Comments
I was reviewing unmerged PRs from vuepress and found two that are related to this issue: This one is a direct fix: vuejs/vuepress#2363 ## \$accentColor
## Infomation about H~2~O
## $\S$ 1.1 This one fixed other cases vuejs/vuepress#2688 (and if I think it also includes a fix for this issue) ## [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup)
## [\<ins>](https://github.com/markdown-it/markdown-it-ins)
## [\<mark>](https://github.com/markdown-it/markdown-it-mark) I think all of the above examples are failing in vitepress too. Should we port the tests from For later, If both vitepress and vuepress will coexist, maybe there could be a package at one point to share these utils so both projects will benefit from the fixes. |
I started working on this one to better understand the issue. There are two tests more that we should port: The changes in the PRs are working as expected. The only part I am not sure if should be added is this one from vuejs/vuepress#2363:
I am inclined to also include it, but maybe this should be handled by markdown plugins. |
From #152 (comment)
The issue appears when using the escaping char in heading in markdown, for example:
The text was updated successfully, but these errors were encountered: