This repository was archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
Update on save ("markdown-toc.updateOnSave") setting not working #59
Copy link
Copy link
Open
Description
I set "markdown-toc.updateOnSave": false and restarted vscode.
Let's say I have thic ToC generated:
- [Authentication](#authentication)
- [Exposing credentials to the build](#exposing-credentials-to-the-build)
- [SSH authentication (Git)](#ssh-authentication-git)
- [Basic authentication (Git)](#basic-authentication-git)
- [Basic authentication (Docker)](#basic-authentication-docker)
- [Guiding credential selection](#guiding-credential-selection)
- [Implementation detail](#implementation-detail)
- [Docker `basic-auth`](#docker-basic-auth)
- [Git `basic-auth`](#git-basic-auth)
- [Git `ssh-auth`](#git-ssh-auth)
- [Least privilege](#least-privilege)
now I delete first two lines:
- [SSH authentication (Git)](#ssh-authentication-git)
- [Basic authentication (Git)](#basic-authentication-git)
- [Basic authentication (Docker)](#basic-authentication-docker)
- [Guiding credential selection](#guiding-credential-selection)
- [Implementation detail](#implementation-detail)
- [Docker `basic-auth`](#docker-basic-auth)
- [Git `basic-auth`](#git-basic-auth)
- [Git `ssh-auth`](#git-ssh-auth)
- [Least privilege](#least-privilege)
and save, it saves as is (expected).
Now I unindent these to remove the left padding spaces:
- [SSH authentication (Git)](#ssh-authentication-git)
- [Basic authentication (Git)](#basic-authentication-git)
- [Basic authentication (Docker)](#basic-authentication-docker)
- [Guiding credential selection](#guiding-credential-selection)
- [Implementation detail](#implementation-detail)
- [Docker `basic-auth`](#docker-basic-auth)
- [Git `basic-auth`](#git-basic-auth)
- [Git `ssh-auth`](#git-ssh-auth)
- [Least privilege](#least-privilege)
I save, and Markdown TOC plugin regenerates this TOC and I'm back to the initial code snippet I pasted above (unexpected) despite updateOnSave was disabled.
(plugin version 1.5.6)
occultskyrong
Metadata
Metadata
Assignees
Labels
No labels