We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述: 当文章的标题过多时,在文章页面右侧的标题出现混乱的情况。如下图
https://upload-images.jianshu.io/upload_images/14458179-86b658277e028388.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
官方demo,v1.2.8没有问题,但是v129有问题。
文章如下: 原文
The text was updated successfully, but these errors were encountered:
这个问题并不是因为标题数量过多,而是md源文件中使用了不合适的标题层级顺序,
你文章中应当是开头直接使用了多次四级标题后又用了三级标题。
使用这两行markdown即可复现这种情况
#### 四级标题 ### 三级标题
这个问题是否有必要处理,以及如何处理可能需要@xaoxuu来看一下
Sorry, something went wrong.
又回测了一下,开头是小标题,再来大标题确实会存在问题。
不过还有一种情况也是如此,如下示例格式:
## 1、首先进入hexo博客目录 ## 2、打开终端,进入到该目录下,执行npm init ##### 输入完命令后 ## 3、编写index.js的代码
第3个标题就不会正常展示。似乎只要是在同级标题中插入小标题后,余下的标题就会混乱。
@gsh1209 @xaoxuu
https://github.com/DavidAnson/markdownlint/blob/main/doc/md001.md#md001---heading-levels-should-only-increment-by-one-level-at-a-time
标题层级应当按顺序使用
No branches or pull requests
检查清单
问题描述
问题描述:
当文章的标题过多时,在文章页面右侧的标题出现混乱的情况。如下图
https://upload-images.jianshu.io/upload_images/14458179-86b658277e028388.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
官方demo,v1.2.8没有问题,但是v129有问题。
文章如下:
原文
The text was updated successfully, but these errors were encountered: