Two TOCs Created From Different Heading Levels

This toc is created from h1-h3 headings only.

This toc is created from h4-h6 headings only.

This toc is created from h1 headings. Because we have already mapped these headings to the TOC above, we get two back links on H1 elements.

first h1

text...

text...

text...

first h2

text...

text...

text...

second h2

text...

text...

text...

second h1

text...

text...

text...

third h2

text...

text...

text...

first h3

text...

text...

text...

fourth h2

text...

text...

text...

first h4

text...

text...

text...

second h4

text...

text...

text...

h5

text...

text...

text...

h6

text...

text...

text...

third h1

text...

text...

text...

fifth h2

text...

text...

text...

second h5