How to make TOC ignore a header?

Is there a way to make the TOC ignore a header?

2 Likes

If you don’t care about the semantic, you could create a data-h2 attribute or something like this on a span that mimics/extends the h2 style.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.