Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

The "depthFrom" property won't work if update on save is true #74

@Triple-Z

Description

@Triple-Z

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions