-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ordinary list whose first item looks like the first heading is detected as TOC #7
Comments
Thank you for the feedback. I'll look into it this weekend. |
Okay, I see the bug. Below is the current behaviors,
|
Ah, the first item matches the title (a level 1 header) so the second rule triggers. It would be like # PR-123456 Build a new window
## Issues
- [PR-123456 Build a new window](http://issuetracker/PR-123456)
- [PR-123457 A related issue](http://issuetracker/PR-123457) Too bad markdown doesn't have comments or it would be possible to make a NoTOC tag that doesn't show in the output. |
I'll add an additional rule which is
|
I like the idea 👍 |
I've fixed it. But I cannot publish the new version because of the bad network connection. Let's ship it tomorrow. |
Published! If you are satisfied with it, please give me a 5 stars 😉 |
It seems fixed 😄 Amended my review ;) |
Thanks 😎 |
When I have a header with a list beneath it containing links it seems to think it is a TOC (marking it as not up to date) and regenerating a TOC in place on saving. You should be able to save without it creating TOC's.
Example:
On saving this is replaced by a TOC of the entire document.
Edit
Got it disabled using:
"markdown.extension.toc.updateOnSave": false
However it's still strange it detected a TOC here.
The text was updated successfully, but these errors were encountered: