The "depthFrom" property won't work if update on save is true
I have written the settings for the markdown file that the table of content code is the following.
<!-- TOC depthFrom:2 -->
- [LeetCode](#leetcode)
- [Problems](#problems)
- [Algorithms](#algorithms)
- [License](#license)
<!-- /TOC -->
However, the depthFrom property doesn't work with "Update on save". I have updated it manually and it can generate the right table of content, but after I pressed the Ctrl + s keys, the table of content would be automatically updated to the former version(with heading 1).
I have the same problem. Have you tried debugging it by any chance?
I can confirm this problem, also for depthTo - updateOnSave seems to ignore file specific settings.
I've played around with the plugin settings and updateOnSave seems to ignore the settings at all - wether they're defined in the settings.json or in the md file which is saved.
I have the same problem. Have you tried debugging it by any chance?
+1
Can't reproduce after #92 is applied so I'm assuming it's fixed, can you try it?