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.
|