We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在md文件中,标题为中文时,点击文章左侧的锚点跳转报错
报错内容:app.64b74b54.js:1 DOMException: Failed to execute 'querySelector' on 'Document': '#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8' is not a valid selector.
1、新建一个md文章 2、一级标题# 二级标题## 设置为中文 3、启动vitepress,点击左侧锚点 4、控制台查看报错
控制台正常不报错
浏览器:Google Chrome v106 vitepress: "1.0.0-alpha.4"
No response
The text was updated successfully, but these errors were encountered:
Can you try updating your VitePress version? IIRC this was fixed earlier (#951?)
Sorry, something went wrong.
I solved the problem in the way you said ,thanks!!
No branches or pull requests
Describe the bug
在md文件中,标题为中文时,点击文章左侧的锚点跳转报错
报错内容:app.64b74b54.js:1 DOMException: Failed to execute 'querySelector' on 'Document': '#%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8' is not a valid selector.
Reproduction
1、新建一个md文章
2、一级标题# 二级标题## 设置为中文
3、启动vitepress,点击左侧锚点
4、控制台查看报错
Expected behavior
控制台正常不报错
System Info
浏览器:Google Chrome v106 vitepress: "1.0.0-alpha.4"
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: