View Single Post
Old 12-08-2020, 10:10 PM   #16
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,885
Karma: 6120478
Join Date: Nov 2009
Device: many
What happens if you make the no:display versions some other header level that is typically unused in ToC like h5 or h6?

Or you can add the class "sigil_not_in_toc" to the header elements you do not want to be used to create the ToC. This is what the HeadingSelector does. If a class attribute already exists for that element concatenate a space and sigil_not_in_toc to that class value.

Last edited by KevinH; 12-08-2020 at 10:20 PM.
KevinH is offline   Reply With Quote