-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
toc.follow not work with Chinese characters #5211
Comments
Thanks for reporting. Same as in #5217 – you must use the |
Okay, so turns out this is directly related to 64ca8fe in which we removed the decoding of the URI component. The problem is that setting Fixed in c3ba161 by reverting the changes in 64ca8fe. @Vetrenik please take #5155 upstream. |
If you think there is a bug in Pymdown Extensions, please create a detailed bug report. I'm not really sure what cases of what you are having issues with. |
Jup, the OP of #5155 should take it upstream if it is believed to be a bug. The mention was meant for you to ask if you have any thoughts from the top of your head. If not, sorry for the noise and all good from our side 😊 |
So, I guess I'm not understanding what is being asked and what is being used (setup). I am assuming this is related to slugs? You do not have to enable |
Specifically this configuration is causing trouble: markdown_extensions:
- toc:
permalink: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
percent_encode: true Setting |
Okay, it seems that So, short answer, don't use |
Released as part of 9.1.4. |
Context
I just installed the latest insider-4.32.3. But I found that the Chinese toc is now not scrolling with page.
This issue occurs in insider-4.32.3. However, when I installed insider-4.32.0, everything became fine.
Bug description
Related links
Reproduction
chinese-toc-follow-not-working.zip
Steps to reproduce
mkdocs serve
Browser
Chrome
Before submitting
The text was updated successfully, but these errors were encountered: