-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Headings with numbers makes the TOC on the right panel fail to expand. #774
Comments
👋 Hi @sirlis, This issue is being automatically closed because it does not follow the issue template. Please DO NOT open another similar issue, try to edit the current issue according to the template, then it will be reopened automatically. |
See #572 and afeld/bootstrap-toc#64 |
Thank you. |
Since |
* chore(deps): upgrade NPM packages * chore: update code style config * refactor(build): modularize JS code - replace gulp with rollup - remove JS output from repo * chore(ci,tools): adapt to changes in JS builds * chore: update configure-pages action (cotes2020#931) * feat: change TOC plugin to `tocbot` (cotes2020#774) * style: improve code style of SCSS & YAML * fix: notch status bar doesn't match theme color (cotes2020#918) Resolves cotes2020#918 * refactor: remove version number from self host config * fix: some console snippets will be incompletely copied Sample: ```console echo $PATH ``` * style: fix scss lint issue type: declaration-block-no-redundant-longhand-properties * feat(ux): turn home page posts into clickable cards (cotes2020#895) Resolves cotes2020#895 * chore: recover accidentally deleted LQIP style * chore(tools): resume git checkout in initialization * chore(tools): add JS dist to gem release * docs: migrate upgrade details to the wiki * chore(release): 5.6.0 * wip * fix: mode-toggle leads to Disqus loading failure (cotes2020#945) * search fix * wip --------- Co-authored-by: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Co-authored-by: Josh Johanning <joshjohanning@github.com> Co-authored-by: Song-Zi Vong <v4vong@gmail.com>
Checklist
master
branch.Describe the bug
Adding numbers to each level of headings makes the TOC on the right fail to expand.
To Reproduce
Steps to reproduce the behavior:
111.md
and write contents with headings like:The automatically generated TOC on the right panel won't expand to the 2nd level correctly.
Expected behavior
The TOC expanded as expected.
Screenshots
examples link: http://sirlis.cn/posts/reinforcement-learning-Monte-Carlo/
In fact, almost all posts of the blog cannot experience a auto-expanded TOC.
Environment
chrispy
Desktop
Smartphone
Additional context
The text was updated successfully, but these errors were encountered: