---input---
= Heading 1 =
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====
====== Heading 6 ======

== [[Heading|''Heading'']] ==

==
===

---tokens---
'= Heading 1 =' Generic.Heading
'\n'          Text.Whitespace

'=='          Generic.Subheading
' Heading 2 ' Generic.Subheading
'=='          Generic.Subheading
'\n'          Text.Whitespace

'==='         Generic.Subheading
' Heading 3 ' Generic.Subheading
'==='         Generic.Subheading
'\n'          Text.Whitespace

'===='        Generic.Subheading
' Heading 4 ' Generic.Subheading
'===='        Generic.Subheading
'\n'          Text.Whitespace

'====='       Generic.Subheading
' Heading 5 ' Generic.Subheading
'====='       Generic.Subheading
'\n'          Text.Whitespace

'======'      Generic.Subheading
' Heading 6 ' Generic.Subheading
'======'      Generic.Subheading
'\n\n'        Text.Whitespace

'=='          Generic.Subheading
" [[Heading|''Heading'']] " Generic.Subheading
'=='          Generic.Subheading
'\n\n'        Text.Whitespace

'='           Text
'='           Text
'\n'          Text

'==='         Generic.Heading
'\n'          Text.Whitespace
