Skip to content

Conversation

@matthewturner
Copy link

This is a very rudimentary implementation of allowing regex pattern matching in filenames (inspired by #723) for the TOC in case anyone can use it as a starting point.

It allows the user to specify the following to apply to all .md files matching the pattern:

// In your settings.json
"markdown.extension.toc.omittedFromToc": {
  "*.md": [
      "# Introduction",
      "## Also omitted",
  ],

@matthewturner matthewturner force-pushed the 723-add-regex-support-for-filenames branch from 831a412 to 6bafe40 Compare January 8, 2025 20:58
@yzhang-gh
Copy link
Owner

Thanks for your interest and also sorry for forgetting to reply. As said yesterday in #1496 (comment) (may need translation), I do not have enough time to keep developing this repository and decided to leave it as is except for severe bugs. Please feel free to fork and modify for your use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants