Skip to content
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

关于Markdown的目录深度 #124

Open
kcn3388 opened this issue Mar 22, 2021 · 3 comments
Open

关于Markdown的目录深度 #124

kcn3388 opened this issue Mar 22, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kcn3388
Copy link
Contributor

kcn3388 commented Mar 22, 2021

image

如图所示,”个人资料2“是”游戏设定“的下一级标题,在目录中无法显示至此深度

@kcn3388
Copy link
Contributor Author

kcn3388 commented Mar 23, 2021

已发现问题所在,标题使用中文的话就无法在目录显示更下一层的标题,但是看别人的部分文章是可以正常显示中文二级目录的,如下图:
image
请问是哪里有问题?附我的md代码。

hokusai.md.txt

自己的网站:https://kcn3388.com/2021/03/22/hokusai/
别人的:http://blog.joylau.cn/2020/12/08/Docker-Nexus3/

@bennyxguo bennyxguo self-assigned this Mar 24, 2021
@bennyxguo bennyxguo added the bug Something isn't working label Mar 24, 2021
@bennyxguo
Copy link
Owner

这个我有时间去看一下吧,这个主题是使用 hexo 的 TOC 生成器的,设置了深度为 3。最近在做全新的主题,目前这个主题的维护稍微要暂停一段时间了。

@kcn3388
Copy link
Contributor Author

kcn3388 commented Mar 24, 2021

这个我有时间去看一下吧,这个主题是使用 hexo 的 TOC 生成器的,设置了深度为 3。最近在做全新的主题,目前这个主题的维护稍微要暂停一段时间了。

@TriDiamond 已经定位到bug原因。您的主题在使用Markdown的折叠语法时会导致进度条卡在折叠的末尾位置,如图。
image
然后由于max_depth的初始设置,无法显示到该最深处,所以会导致无法正常显示目录。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants