The articletoc bbcode block presents a full list of every single h# header found in the article. For some articles, this can result in a very long table of contents, or in some cases like my own, header levels used for non-organizational purposes get included (I use h4 to 'label' alert blocks I place throughout articles, for example).
Allowing a parameter to the articletoc bbcode to restrict the depth of the table of contents would:
articletoc|2 would cause the TOC to only display h1 and h2 headers, and skip any smaller sized/higher number headers found in the article. This falls in line with the headers I normally enter in my manually written table of contents, to keep the list condensed and not include superfluous or irrelevant headers.
The character stat blocks for D&D (at the least) also use h# for formatting, so when I tried to use the articletoc BBcode to create a table of contents for my Adventure April oneshot, it proceeded to list every portion of the stat block in the contents! Being able to exclude this instead of having to create the table of contents manually would have saved valuable time.
I made a similar suggestion before, but it didn't get enough votes to be considered. Hope this one will make it through!
Also please have a different css class for the headers (h1-hx) so we can distinguish them
I dont fully understand what this suggestion says but from what I gather, I think this is a good suggestion which helps organization with Table of Contents feature which is probably not accessible for me.
This would be incredibly helpful
I've currently achieved this with CSS, but it'd be nice to be able to do without coding.