Open MarkWagner opened 2 years ago
+1 same thing for me also
PRs welcome!
This can be easily fixed by modifying main.js near line 249:
new import_obsidian2.Setting(containerEl).setName("Maximum Header Depth").setDesc("The highest header depth to add to the table of contents. Defaults to 6").addSlider((text) => text.setValue(this.plugin.settings.maximumDepth).setDynamicTooltip().setLimits(1, 6, 1).onChange((value) => {
//this.plugin.settings.minimumDepth = value;
this.plugin.settings.maximumDepth = value;
this.plugin.saveData(this.plugin.settings);
}));
Awesome! make a pr and it will be released quickly 🚀
Min and Max settings are not persisting when making changes. I had to edit the data.json file.