markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

Produced toc doesn't pass linter list-item-indent rule

Open MakisH opened this issue 9 years ago • 0 comments

I have installed both markdown-toc and linter-markdown and I produce a toc automatically with the default settings.

I get an error for every bullet of the list: remark-lint:list-item-indent Incorrect list-item indent: add 2 spaces

Example of a bullet: - [Heading](#heading) It looks like linter-markdown requires 3 spaces, while markdown-toc uses only one.

I tried to find where this rule is actually set and a way to disable it but I gave up. I am not sure what is the standard about markdown lists, but I thought you may want to note this.

MakisH avatar Sep 19 '16 11:09 MakisH