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
This is extra, unnecessary markup. Additionally, if one uses CSS to add something (I use it to add "Table of contents" before the <ol>), it shows up even there's no table of contents to see.
Solution
The whole table of contents should not be rendered if there are no <li> items.
Alternatives
I don't think there are alternatives?
The text was updated successfully, but these errors were encountered:
Initial checklist
Problem
The way that this currently works, it renders this:
This is extra, unnecessary markup. Additionally, if one uses CSS to add something (I use it to add "Table of contents" before the
<ol>
), it shows up even there's no table of contents to see.Solution
The whole table of contents should not be rendered if there are no
<li>
items.Alternatives
I don't think there are alternatives?
The text was updated successfully, but these errors were encountered: