
*screenshot on localhost:4000
*如图,浏览文章时,网页端应该和本地一样可以显示完整目录,并且点击能跳转至相应位置;本地环境下文章目录可以实现完整功能。
*The menu should show full sub menu when reading, and it should point to the right place about the page when clicked. But it only work well in my computer, rather than my website.

*screenshot on web page
*如图,网页端文章目录并不能展开,并且点击也不会跳转至相应位置。
*As you can see, the menu can't unfold on the web page, and the page can't jump to the right position when the menu is clicked.
NexT Version:
[] Latest Master branch.
[x] Latest Release version.
[] Old version -
NexT Scheme:
[] All schemes
[] Muse
[x] Mist
[] Pisces
[] Gemini
Try to switch on latest master branch. Issue still exists?
Well, I don't understand the reason but I solved the bug. I searched " Myblog / node_modules " in my VPS, and I found hexo-toc folder which didn't exist in my computer. Then " npm uninstall hexo-toc" , and bug fixed. Thanks!
Your TOC is forget your VPS. :smile:
Does anyone know the reasons for this problem? I have the same issue here and done all configurations above. But that doesn't solve my problems.
Here's my blog:
https://hexo.zam.tw/
@onlyfly34 what Hexo your version(hexo -v)? Next version 5.1.2 as i see?
Try to check latest master branch. Issue still exists?
Hexo version is 3.3.9 and that's right, NexT version is 5.1.2.
I just built my blog yesterday and installed with latest master branch of theme NexT.
I just cd themes/next and try git pull again.
But that doesn't work.
@onlyfly34 there is some update about TOC in latest Hexo version, but i don't remember where. Maybe this is reason? I have still Hexo 3.2.2 and TOC works fine with latest master branch & dev version. But, yes, In 5.1.2 release version somewhere was bug with TOC in Next.
Please, try to follow next steps:
themes/next directory.Download latest master branch. section in main readme).CTRL + SHIFT + R.P.S. Today will be 5.1.3 release with some TOC features & fixes & updates, u just can wait a little time.
I just upgraded to NexT v5.1.3.
But after viewing another article, I found that it's hexo-renderer-markdown-it's problem:
https://github.com/hexojs/hexo-renderer-markdown-it/issues/40
Thanks for @ivan-nginx 's help.
Most helpful comment
I just upgraded to NexT v5.1.3.
But after viewing another article, I found that it's
hexo-renderer-markdown-it's problem:https://github.com/hexojs/hexo-renderer-markdown-it/issues/40
Thanks for @ivan-nginx 's help.