Vscode-markdown: toc生成目录不完整

Created on 19 Aug 2019  ·  3Comments  ·  Source: yzhang-gh/vscode-markdown

What is the problem?

当我撰写了10个以上的二级标题之后,使用toc生成的目录会丢失第10个二级标题之后的标题。生成的目录不完整
image
image

附上md文件
02.02-组件与模板-模板语法.zip

How can I reproduce it?

我希望生成完整的目录。

Is there any error message in the console?


没有错误提示

table of contents Bug Fixed

Most helpful comment

主要原因是从 560 行开始有了奇怪的缩进

image

不过 Markdown 确实是允许 4 个空格以内的缩进,所以我也修复了一下(可在预览版尝试)

All 3 comments

主要原因是从 560 行开始有了奇怪的缩进

image

不过 Markdown 确实是允许 4 个空格以内的缩进,所以我也修复了一下(可在预览版尝试)

主要原因是从 560 行开始有了奇怪的缩进

image

不过 Markdown 确实是允许 4 个空格以内的缩进,所以我也修复了一下(可在预览版尝试)

👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍 👍

I will try,Thank you~
I will close this issue when this issue is fixed.

It's fixed~~

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MisterY picture MisterY  ·  3Comments

nosalan picture nosalan  ·  3Comments

asbjornu picture asbjornu  ·  5Comments

maoturing picture maoturing  ·  4Comments

akshaybabloo picture akshaybabloo  ·  3Comments