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

文章目录显示错误 #16

Closed
KongerBest opened this issue May 24, 2020 · 9 comments
Closed

文章目录显示错误 #16

KongerBest opened this issue May 24, 2020 · 9 comments

Comments

@KongerBest
Copy link

我使用的主题:最新的master分支。

如图:
image
不知道为什么,在过多目录的文章中,会出现显示错误的bug,望修复,谢谢!

@longlivewe
Copy link

我也遇到了一样的问题,这个功能让我关上了

@ChrAlpha ChrAlpha added the bug Something isn't working label May 27, 2020
@KongerBest
Copy link
Author

再次报告bug:
开启目录显示后手机端访问体验不佳,如图
image
望修复,谢谢
另外,貌似旧文章提醒失效了,不起作用

@ChrAlpha
Copy link
Owner

很奇怪,你所说的两个问题我都没能复现。请尝试强制获取最新 master 分支,即重新 git clone 仓库。
如能提供部分源码供我 debug 将更好了。

@KongerBest
Copy link
Author

貌似是因为带有数字呢,如:
1.xxxx
2.xxxxx
难道说与那个添加数字序号的选项冲突?
目前另一个文章没有出现错误
image
另外,我已经更新到最新的master分支,暂未解决

@KongerBest
Copy link
Author

难道说是文章的问题?
image
image

@longlivewe
Copy link

这个有好多人反映了,关上目录功能吧,估计下个版本能解决。

@ChrAlpha
Copy link
Owner

ChrAlpha commented May 29, 2020

请按照顺序添加标题,从二级标题开始。

不要出现:

## 二级标题

#### 四级标题

### 三级标题

等违背 markdown 排版规范的标题声明。

另外不要再声明一级标题,我也在文档中说明了理由。

我自己博客中无论是序号还是移动端都正常显示,如有仍疑问麻烦提供文章 markdown 源码方便我排查,不胜感激!

@ChrAlpha
Copy link
Owner

请确保全文第一个标题声明层级最高,不要出现后续标题层级有比第一个标题高的情况:

### 三级标题

## 二级标题

### 三级标题

#### 四级标题

也不要出现跨越声明:

## 二级标题

#### 四级标题

@KongerBest
Copy link
Author

好的,文章已经调整成你说的样式,修复了
但我觉得,一般新手不会太了解Markdown规范吧

@ChrAlpha ChrAlpha removed the bug Something isn't working label May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants