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
Set configuration item levels="1,2" either in Packages/User/MarkdownTOC.sublime-settings or as a XML comment (<!-- MarkdownTOC style="ordered" levels="1,2" -->)
Also tried with syntax levels="[1,2]"
Strangely enough, global config file (default values) includes "levels": [1,2,3,4,5,6], which doesn't prevent normal generation
Generate or regenerate TOC through Sublime menus
**Using the syntax default.levels="1,2" in XML comment, it works as expected. **
Using similar redundant syntax in config files does not work
TOC should be (re)generated with appropriate levels included
What actually occurred
As soon as this config item is specified (either un user config file or XML comment), generating the TOC doesn't work (no change in file)
Strangely, the parameter exists in global config file and it stil works
What was the version of the involved component
Markdown TOC v4.1.2
Sublime text build 4143
win10
The text was updated successfully, but these errors were encountered:
How can the issue be reproduced
levels="1,2"
either in Packages/User/MarkdownTOC.sublime-settings or as a XML comment (<!-- MarkdownTOC style="ordered" levels="1,2" -->
)levels="[1,2]"
"levels": [1,2,3,4,5,6],
which doesn't prevent normal generation**Using the syntax
default.levels="1,2"
in XML comment, it works as expected. **Using similar redundant syntax in config files does not work
Context
Packages/MarkdownTOC/MarkdownTOC.sublime-settings
Packages/User/MarkdownTOC.sublime-settings
What was expected
TOC should be (re)generated with appropriate levels included
What actually occurred
As soon as this config item is specified (either un user config file or XML comment), generating the TOC doesn't work (no change in file)
Strangely, the parameter exists in global config file and it stil works
What was the version of the involved component
Markdown TOC v4.1.2
Sublime text build 4143
win10
The text was updated successfully, but these errors were encountered: