Normal Header
plain text

Normal Header with trailing space

Normal Header with trailing space
plain text

Header with Link
plain text

Header with Link
and more plain text

Header with Link and space
and more plain text
The following should still be detected as headers:

Broken label [ text [

Test Header 2 and

Broken Reference Link [label][label2]

Reference link not label label

Link not label
And link to [label2] and label1 and label.

Header with ümlaut
link to Header with ümlaut.
Bibliography