ToC tool: feature request
At the moment, the ToC tool can generate a ToC based on <h1> to <h3> tags. Can I request a facility to allow the user to choose (from inside the ToC tool dialog) which levels are indexed , rather than the current fixed set?
Motivation: Sometimes I want to (a) index h1 and h2 only, or (b) go down as far as h4. The only way to do this currently is:
(a) to generate the ToC, "expand all" and manually delete the h3's (relatively easy but tedious);
(b) search-and-replace <h4>...</h4> with <h3 class="h4">...</h3>, generate the ToC, search-and-replace <h3 class="h4" id="x">...</h3> with <h4 id="x">...</h4>, edit the ToC and manually move all the h4's from the h3 level to the correct h4 level... what a chore that is!
|