Content before any header.
Welcome to Heading 1
Heading 1.1 content
Heading 1.1.1 content
Heading 1.1.1 content continued
Heading 1.1.2
Heading 1.2 content
Heading 2 here
Heading 2.1 content
Ooops, I went right from 2.1 to 2.1.0.1, skipping 2.1.1!
Heading 2.1.1 content should appear AFTER 2.1.0.1 because it came later in the source, despite the fact that it's malnested. But it should appear as a child of 2.1, not any higher.
Heading 2.1.1.1 content should appear as a child of 2.1.1, not as a sibling of 2.1.0.1
Jumping back to the main level with heading 3!
The same hierarchy, minus the content