Normally, sections are automatically closed when new sections at the same or higher level open. This is fine, because normal content isn't allowed between or after sections. Except that the links element is allowed after section content. So if you're doing complex stuff with links, you need to be able to do post-section content. Do this:
== Section One
This is section one.
== Section Two
This is section two.
==
[links type="guide"]
Normally, sections are automatically closed when new sections at the same or higher level open. This is fine, because normal content isn't allowed between or after sections. Except that the
links
element is allowed after section content. So if you're doing complex stuff withlinks
, you need to be able to do post-section content. Do this: