You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got the TOC in my template but don't like the look of the warning when there are no headings.
My proposed solution is a new option that hides the TOC in that case
```table-of-contents
hideWhenEmpty: true
```
which would hide the warning: Table of contents: no headings found
The text was updated successfully, but these errors were encountered:
Not entirely sure what should happen to the title in this case. I don't use it so I have no strong preference.
If "hideWhenEmpty" is the name of the option then it should also hide the title. If the option is instead named "hideWarning" then you should still render the title.
I've got the TOC in my template but don't like the look of the warning when there are no headings.
My proposed solution is a new option that hides the TOC in that case
which would hide the warning:
Table of contents: no headings found
The text was updated successfully, but these errors were encountered: