tartrazine/spec/unsupported_lexers/wikitext/heading.txt

54 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---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