View Single Post
Old 12-08-2020, 10:42 PM   #17
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
Quote:
Originally Posted by KevinH View Post
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.
I did not know about that class. I will give that a try tomorrow so see what it does. It's too late tonight to jump back into it.
Banjo is offline   Reply With Quote