You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
I'm using markdownlint (VS Code plugin) to help me create clean MD documents. I'm using it as is, without any custom settings. When I create subsections, TOC includes nested list elements with 4 spaces per indentation level. And then lint warns me on 4 spaces indentation -- it expects 2 spaces:
[markdownlint] MD007/ul-indent: Unordered list indentation [Expected: 2; Actual: 4]
The text was updated successfully, but these errors were encountered:
I second that. It would be nice if toc comply with markdownlint.
Edit:
I was looking at the code and found that md-toc uses some basic vscode configurations in order create the identantion [1], such as editor.insertSpaces and editor.tabSize.
Changing my config to
"[markdown]": {
"editor.tabSize": 2 //default is 4
}
I'm using markdownlint (VS Code plugin) to help me create clean MD documents. I'm using it as is, without any custom settings. When I create subsections, TOC includes nested list elements with 4 spaces per indentation level. And then lint warns me on 4 spaces indentation -- it expects 2 spaces:
The text was updated successfully, but these errors were encountered: