Closed juristr closed 12 years ago
The indentation rules within the tocify.css stylesheet are based on the number of nested subheaders. Since the h3
tag is the first nested subheader, it will be indented as such. It does not care that it is an h3
tag, just what nesting level it is.
Sure, that's fine, but the subsequent h2
headers are not indented at all but they are at the same level as the h1
tag.
That's because the table of contents expects an h2 element to come before an h3 element. The order is very important. I believe it is fine to be stringent on the order, since it is very easy to customize the size of header elements using CSS.
Hi,
another bug :) I noticed that when having a structure like
the indentation is broken. Here's the according JSBin sample.