Table of contents is getting auto-generated on file save with unwanted sections on it.
Markdown 2.1.1
Vscode 1.31.1
open a MD with an outdated table of contents. touch the file and save, the table of contents is getting regenerated
no error.
See option markdown.extension.toc.updateOnSave
Tip: use <!-- omit in toc --> comment to ignore headings

Fine, it should be ## TOC <!-- omit in toc -->...
Most helpful comment
See option
markdown.extension.toc.updateOnSaveTip: use
<!-- omit in toc -->comment to ignore headings