markdown-toc
markdown-toc copied to clipboard
Configured indent settings not respected
As you can see my indent setting set to 2 spaces

But the inserted table of content wants to put 3 spaces

It seems that the default indent size is taken into account, and not the current indent size
note that I'm using the editorconfig extension with this config
[*.md]
indent_style = space
indent_size = 2
This causes problems if you're using TechDocs with Backstage.
## Test list 1
* Level 1
* Level 2
## Test list 2
* Level 1
* Level 2
## Test list 3
- Level 1
- Level 2
## Test list 4
- Level 1
- Level 2
Renders as:
