markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

Question: Can we disable auto update TOC

Open wwdok opened this issue 2 years ago • 4 comments

I insert the TOC, but I do not want all of the items, I just want keep some of them, so I delete some items, but after a moment, the extension update the TOC, so now i can not custimize the TOC, it would be nice if the extension allowed the user to choose whether to update automatically or not :)

wwdok avatar Mar 22 '22 12:03 wwdok

It seems that you are looking for the setting markdown-toc.updateOnSave

nmss avatar May 10 '22 16:05 nmss

@nmss I just tried disable the setting markdown-toc.updateOnSave, but the extension still automatically restore content to original one

wwdok avatar May 10 '22 16:05 wwdok

You're right, it seems this setting is not respected by the extension 😞 sadly, I don't have other ideas for you

nmss avatar May 10 '22 16:05 nmss

I came to report this underlying issue as well, the updateOnSave setting is ignored, always updates, at least on Linux and MacOS.

Apparently this issue dates from the original repo that this project was forked from. There was a pull request that may have fixed this issue, but it was never merged.

AndrewDDavis avatar Mar 29 '23 14:03 AndrewDDavis