mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
289
spec/unsupported_lexers/wikitext/bold-italic.txt
Normal file
289
spec/unsupported_lexers/wikitext/bold-italic.txt
Normal file
@ -0,0 +1,289 @@
|
||||
---input---
|
||||
To ''italicize text'', put two consecutive apostrophes on each side of it.
|
||||
|
||||
Three apostrophes each side will '''bold the text'''.
|
||||
|
||||
Five consecutive apostrophes on each side (two for italics plus three for bold) produces '''''bold italics'''''.
|
||||
|
||||
'''''Italic and bold formatting''''' works correctly only within a single line.
|
||||
|
||||
''''''foo''''''
|
||||
|
||||
L''''''Étranger'''''
|
||||
|
||||
'' a ''' a ''' a ''
|
||||
|
||||
'' a ''' a '' a '''
|
||||
|
||||
''''' a '' a '''
|
||||
''''' a ''' a ''
|
||||
|
||||
''''' a
|
||||
a
|
||||
|
||||
''a[[b|c]]d
|
||||
a[[b|''c]]d
|
||||
''a{{b|c}}d
|
||||
a{{b|''c}}d
|
||||
|
||||
---tokens---
|
||||
'To' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'italicize' Generic.Emph
|
||||
' ' Generic.Emph
|
||||
'text' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
',' Text
|
||||
' ' Text
|
||||
'put' Text
|
||||
' ' Text
|
||||
'two' Text
|
||||
' ' Text
|
||||
'consecutive' Text
|
||||
' ' Text
|
||||
'apostrophes' Text
|
||||
' ' Text
|
||||
'on' Text
|
||||
' ' Text
|
||||
'each' Text
|
||||
' ' Text
|
||||
'side' Text
|
||||
' ' Text
|
||||
'of' Text
|
||||
' ' Text
|
||||
'it' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Three' Text
|
||||
' ' Text
|
||||
'apostrophes' Text
|
||||
' ' Text
|
||||
'each' Text
|
||||
' ' Text
|
||||
'side' Text
|
||||
' ' Text
|
||||
'will' Text
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'bold' Generic.Strong
|
||||
' ' Generic.Strong
|
||||
'the' Generic.Strong
|
||||
' ' Generic.Strong
|
||||
'text' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Five' Text
|
||||
' ' Text
|
||||
'consecutive' Text
|
||||
' ' Text
|
||||
'apostrophes' Text
|
||||
' ' Text
|
||||
'on' Text
|
||||
' ' Text
|
||||
'each' Text
|
||||
' ' Text
|
||||
'side' Text
|
||||
' ' Text
|
||||
'(' Text
|
||||
'two' Text
|
||||
' ' Text
|
||||
'for' Text
|
||||
' ' Text
|
||||
'italics' Text
|
||||
' ' Text
|
||||
'plus' Text
|
||||
' ' Text
|
||||
'three' Text
|
||||
' ' Text
|
||||
'for' Text
|
||||
' ' Text
|
||||
'bold' Text
|
||||
')' Text
|
||||
' ' Text
|
||||
'produces' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
'bold' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'italics' Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
"''" Generic.Emph
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
'Italic' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'and' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'bold' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'formatting' Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'works' Text
|
||||
' ' Text
|
||||
'correctly' Text
|
||||
' ' Text
|
||||
'only' Text
|
||||
' ' Text
|
||||
'within' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'single' Text
|
||||
' ' Text
|
||||
'line' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"'" Text
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
'foo' Generic.EmphStrong
|
||||
"'" Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'L' Text
|
||||
"'" Text
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
'Étranger' Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
' ' Generic.Emph
|
||||
'a' Generic.Emph
|
||||
' ' Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'a' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.Emph
|
||||
'a' Generic.Emph
|
||||
' ' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
' ' Generic.Emph
|
||||
'a' Generic.Emph
|
||||
' ' Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'a' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
"''" Generic.EmphStrong
|
||||
' ' Generic.Strong
|
||||
'a' Generic.Strong
|
||||
' ' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'a' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
"''" Generic.EmphStrong
|
||||
' ' Generic.Strong
|
||||
'a' Generic.Strong
|
||||
' ' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'a' Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.Emph
|
||||
'a' Generic.Emph
|
||||
' ' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.EmphStrong
|
||||
' ' Generic.EmphStrong
|
||||
'a' Generic.EmphStrong
|
||||
'\n' Text
|
||||
|
||||
'a' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
'a' Generic.Emph
|
||||
'[[' Punctuation
|
||||
'b' Name.Tag
|
||||
'|' Punctuation
|
||||
'c' Text
|
||||
']]' Punctuation
|
||||
'd' Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'a' Text
|
||||
'[[' Punctuation
|
||||
'b' Name.Tag
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'c' Generic.Emph
|
||||
'' Punctuation
|
||||
']]' Punctuation
|
||||
'd' Text
|
||||
'\n' Text
|
||||
|
||||
"''" Generic.Emph
|
||||
'a' Generic.Emph
|
||||
'' Punctuation
|
||||
'{{' Punctuation
|
||||
'b' Name.Tag
|
||||
'|' Punctuation
|
||||
'c' Text
|
||||
'}}' Punctuation
|
||||
'd' Text
|
||||
'\n' Text
|
||||
|
||||
'a' Text
|
||||
'{{' Punctuation
|
||||
'b' Name.Tag
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'c' Generic.Emph
|
||||
'' Punctuation
|
||||
'}}' Punctuation
|
||||
'd' Text
|
||||
'\n' Text
|
185
spec/unsupported_lexers/wikitext/entity.txt
Normal file
185
spec/unsupported_lexers/wikitext/entity.txt
Normal file
@ -0,0 +1,185 @@
|
||||
---input---
|
||||
Mr. Smith or 400 km/h
|
||||
|
||||
À Á Â Ã Ä Å Æ
|
||||
|
||||
Ç È É Ê Ë
|
||||
|
||||
Ì Í Î Ï Ñ
|
||||
|
||||
Ò Ó Ô Õ Ö Ø Œ
|
||||
|
||||
Ù Ú Û Ü Ÿ ß
|
||||
|
||||
à á â ã ä å æ ç
|
||||
|
||||
è é ê ë
|
||||
|
||||
ì í î ï ñ
|
||||
|
||||
ò ó ô õ ö ø œ
|
||||
|
||||
ù ú û ü ÿ
|
||||
|
||||
---tokens---
|
||||
'Mr' Text
|
||||
'.' Text
|
||||
' ' Name.Entity
|
||||
'Smith' Text
|
||||
' ' Text
|
||||
'or' Text
|
||||
' ' Text
|
||||
'400' Text
|
||||
' ' Name.Entity
|
||||
'km' Text
|
||||
'/' Text
|
||||
'h' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'À' Name.Entity
|
||||
' ' Text
|
||||
'Á' Name.Entity
|
||||
' ' Text
|
||||
'Â' Name.Entity
|
||||
' ' Text
|
||||
'Ã' Name.Entity
|
||||
' ' Text
|
||||
'Ä' Name.Entity
|
||||
' ' Text
|
||||
'Å' Name.Entity
|
||||
' ' Text
|
||||
'Æ' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Ç' Name.Entity
|
||||
' ' Text
|
||||
'È' Name.Entity
|
||||
' ' Text
|
||||
'É' Name.Entity
|
||||
' ' Text
|
||||
'Ê' Name.Entity
|
||||
' ' Text
|
||||
'Ë' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Ì' Name.Entity
|
||||
' ' Text
|
||||
'Í' Name.Entity
|
||||
' ' Text
|
||||
'Î' Name.Entity
|
||||
' ' Text
|
||||
'Ï' Name.Entity
|
||||
' ' Text
|
||||
'Ñ' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Ò' Name.Entity
|
||||
' ' Text
|
||||
'Ó' Name.Entity
|
||||
' ' Text
|
||||
'Ô' Name.Entity
|
||||
' ' Text
|
||||
'Õ' Name.Entity
|
||||
' ' Text
|
||||
'Ö' Name.Entity
|
||||
' ' Text
|
||||
'Ø' Name.Entity
|
||||
' ' Text
|
||||
'Œ' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Ù' Name.Entity
|
||||
' ' Text
|
||||
'Ú' Name.Entity
|
||||
' ' Text
|
||||
'Û' Name.Entity
|
||||
' ' Text
|
||||
'Ü' Name.Entity
|
||||
' ' Text
|
||||
'Ÿ' Name.Entity
|
||||
' ' Text
|
||||
'ß' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'à' Name.Entity
|
||||
' ' Text
|
||||
'á' Name.Entity
|
||||
' ' Text
|
||||
'â' Name.Entity
|
||||
' ' Text
|
||||
'ã' Name.Entity
|
||||
' ' Text
|
||||
'ä' Name.Entity
|
||||
' ' Text
|
||||
'å' Name.Entity
|
||||
' ' Text
|
||||
'æ' Name.Entity
|
||||
' ' Text
|
||||
'ç' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'è' Name.Entity
|
||||
' ' Text
|
||||
'é' Name.Entity
|
||||
' ' Text
|
||||
'ê' Name.Entity
|
||||
' ' Text
|
||||
'ë' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'ì' Name.Entity
|
||||
' ' Text
|
||||
'í' Name.Entity
|
||||
' ' Text
|
||||
'î' Name.Entity
|
||||
' ' Text
|
||||
'ï' Name.Entity
|
||||
' ' Text
|
||||
'ñ' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'ò' Name.Entity
|
||||
' ' Text
|
||||
'ó' Name.Entity
|
||||
' ' Text
|
||||
'ô' Name.Entity
|
||||
' ' Text
|
||||
'õ' Name.Entity
|
||||
' ' Text
|
||||
'ö' Name.Entity
|
||||
' ' Text
|
||||
'ø' Name.Entity
|
||||
' ' Text
|
||||
'œ' Name.Entity
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'ù' Name.Entity
|
||||
' ' Text
|
||||
'ú' Name.Entity
|
||||
' ' Text
|
||||
'û' Name.Entity
|
||||
' ' Text
|
||||
'ü' Name.Entity
|
||||
' ' Text
|
||||
'ÿ' Name.Entity
|
||||
'\n' Text
|
292
spec/unsupported_lexers/wikitext/extlink.txt
Normal file
292
spec/unsupported_lexers/wikitext/extlink.txt
Normal file
@ -0,0 +1,292 @@
|
||||
---input---
|
||||
[https://www.wikipedia.org Wikipedia]
|
||||
|
||||
[https://www.wikipedia.org]
|
||||
|
||||
https://www.wikipedia.org
|
||||
|
||||
<span class="plainlinks">[https://www.wikipedia.org Wikipedia]</span>
|
||||
|
||||
Single square brackets holding
|
||||
[text without a HTTP URL] are
|
||||
preserved, but single square
|
||||
brackets containing a URL are
|
||||
treated as being an external
|
||||
[https://example.com/ Web link].
|
||||
|
||||
[https://www.wikipedia.org ''Wiki'''''pedi'''a]
|
||||
|
||||
tel:1145141919810
|
||||
|
||||
[tel:1145141919810 telephone me]
|
||||
|
||||
[https://www.google.com [[a]]]
|
||||
|
||||
https://www.example.com
|
||||
|
||||
[https://www.exampke.com]
|
||||
|
||||
[//example.com]
|
||||
|
||||
[//example.com a b c]
|
||||
|
||||
[//example.com a ''b'' c <nowiki>[//example.com a ''b'' c]</nowiki><includeonly/><div class="a"/> d]
|
||||
|
||||
[{{fullurl:Help:Wiki markup|action=edit}} edit]
|
||||
|
||||
---tokens---
|
||||
'[' Punctuation
|
||||
'https://www.wikipedia.org' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'Wikipedia' Text
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'https://www.wikipedia.org' Name.Label
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'https://www.wikipedia.org' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'span' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'class' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'plainlinks' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'[' Punctuation
|
||||
'https://www.wikipedia.org' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'Wikipedia' Text
|
||||
']' Punctuation
|
||||
'</' Punctuation
|
||||
'span' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Single' Text
|
||||
' ' Text
|
||||
'square' Text
|
||||
' ' Text
|
||||
'brackets' Text
|
||||
' ' Text
|
||||
'holding' Text
|
||||
'\n' Text
|
||||
|
||||
'[' Text
|
||||
'text' Text
|
||||
' ' Text
|
||||
'without' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'HTTP' Text
|
||||
' ' Text
|
||||
'URL' Text
|
||||
']' Text
|
||||
' ' Text
|
||||
'are' Text
|
||||
'\n' Text
|
||||
|
||||
'preserved' Text
|
||||
',' Text
|
||||
' ' Text
|
||||
'but' Text
|
||||
' ' Text
|
||||
'single' Text
|
||||
' ' Text
|
||||
'square' Text
|
||||
'\n' Text
|
||||
|
||||
'brackets' Text
|
||||
' ' Text
|
||||
'containing' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'URL' Text
|
||||
' ' Text
|
||||
'are' Text
|
||||
'\n' Text
|
||||
|
||||
'treated' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'being' Text
|
||||
' ' Text
|
||||
'an' Text
|
||||
' ' Text
|
||||
'external' Text
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'https://example.com/' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'Web' Text
|
||||
' ' Text
|
||||
'link' Text
|
||||
']' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'https://www.wikipedia.org' Name.Label
|
||||
' ' Text.Whitespace
|
||||
"''" Generic.Emph
|
||||
'Wiki' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
"'''" Generic.Strong
|
||||
'pedi' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'a' Text
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'tel:1145141919810' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'tel:1145141919810' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'telephone' Text
|
||||
' ' Text
|
||||
'me' Text
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'https://www.google.com' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'[[' Punctuation
|
||||
'a' Name.Tag
|
||||
']]' Punctuation
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'https://www.example.com' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'https://www.exampke.com' Name.Label
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'//example.com' Name.Label
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'//example.com' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'a' Text
|
||||
' ' Text
|
||||
'b' Text
|
||||
' ' Text
|
||||
'c' Text
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Punctuation
|
||||
'//example.com' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'a' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'b' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'c' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
'>' Punctuation
|
||||
'[' Text
|
||||
'/' Text
|
||||
'/' Text
|
||||
'example' Text
|
||||
'.' Text
|
||||
'com' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
"'" Text
|
||||
"'" Text
|
||||
'b' Text
|
||||
"'" Text
|
||||
"'" Text
|
||||
' ' Text
|
||||
'c' Text
|
||||
']' Text
|
||||
'</' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
'>' Punctuation
|
||||
'<' Punctuation
|
||||
'includeonly' Name.Tag
|
||||
'/>' Punctuation
|
||||
'<' Punctuation
|
||||
'div' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'class' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'a' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'/>' Punctuation
|
||||
' ' Text
|
||||
'd' Text
|
||||
']' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Text
|
||||
'{{' Punctuation
|
||||
'fullurl' Name.Function
|
||||
':' Punctuation
|
||||
'Help' Text
|
||||
':' Text
|
||||
'Wiki' Text
|
||||
' ' Text
|
||||
'markup' Text
|
||||
'|' Punctuation
|
||||
'action' Name.Label
|
||||
'=' Operator
|
||||
'edit' Text
|
||||
'}}' Punctuation
|
||||
' ' Text
|
||||
'edit' Text
|
||||
']' Text
|
||||
'\n' Text
|
53
spec/unsupported_lexers/wikitext/heading.txt
Normal file
53
spec/unsupported_lexers/wikitext/heading.txt
Normal file
@ -0,0 +1,53 @@
|
||||
---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
|
42
spec/unsupported_lexers/wikitext/hr.txt
Normal file
42
spec/unsupported_lexers/wikitext/hr.txt
Normal file
@ -0,0 +1,42 @@
|
||||
---input---
|
||||
-
|
||||
--
|
||||
---
|
||||
----
|
||||
-----
|
||||
------
|
||||
-------
|
||||
--------
|
||||
--------foo
|
||||
|
||||
---tokens---
|
||||
'-' Text
|
||||
'\n' Text
|
||||
|
||||
'-' Text
|
||||
'-' Text
|
||||
'\n' Text
|
||||
|
||||
'-' Text
|
||||
'-' Text
|
||||
'-' Text
|
||||
'\n' Text
|
||||
|
||||
'----' Keyword
|
||||
'\n' Text
|
||||
|
||||
'-----' Keyword
|
||||
'\n' Text
|
||||
|
||||
'------' Keyword
|
||||
'\n' Text
|
||||
|
||||
'-------' Keyword
|
||||
'\n' Text
|
||||
|
||||
'--------' Keyword
|
||||
'\n' Text
|
||||
|
||||
'--------' Keyword
|
||||
'foo' Text
|
||||
'\n' Text
|
449
spec/unsupported_lexers/wikitext/html.txt
Normal file
449
spec/unsupported_lexers/wikitext/html.txt
Normal file
@ -0,0 +1,449 @@
|
||||
---input---
|
||||
<div class="center" style="width: auto; margin-left: auto; margin-right: auto;">Centered text</div>
|
||||
|
||||
<blockquote>
|
||||
The '''blockquote''' tag will indent both margins when needed instead of the left margin only as the colon does.
|
||||
</blockquote>
|
||||
|
||||
<div>
|
||||
#123
|
||||
:456
|
||||
----
|
||||
</div>
|
||||
|
||||
Use <small >small text</small> only when necessary.
|
||||
|
||||
To match, for example, the font-size used in an image caption, the "small" tag can also be used to
|
||||
<small style="font-size:87%;">reduce a text's font-size to 87%</small>.
|
||||
|
||||
Better not use <big>big text</big>, unless <small>it's <big>within</big> small</small> text.
|
||||
|
||||
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
|
||||
|
||||
function <code>int m2()</code> is nice.
|
||||
|
||||
You can <del>indicate deleted material</del> and <ins>inserted material</ins>.
|
||||
|
||||
<div ></div >
|
||||
|
||||
<span <!-- this is a comment --> ></span>
|
||||
|
||||
<span class="citation {{{Citation class|{{{Citation type|}}}}}}"></span>
|
||||
|
||||
<a></a>
|
||||
|
||||
---tokens---
|
||||
'<' Punctuation
|
||||
'div' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'class' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'center' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
' ' Text.Whitespace
|
||||
'style' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'width' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'auto' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'margin' Literal.String.Double
|
||||
'-' Literal.String.Double
|
||||
'left' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'auto' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'margin' Literal.String.Double
|
||||
'-' Literal.String.Double
|
||||
'right' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'auto' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'Centered' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'</' Punctuation
|
||||
'div' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'blockquote' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'The' Text
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'blockquote' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
' ' Text
|
||||
'tag' Text
|
||||
' ' Text
|
||||
'will' Text
|
||||
' ' Text
|
||||
'indent' Text
|
||||
' ' Text
|
||||
'both' Text
|
||||
' ' Text
|
||||
'margins' Text
|
||||
' ' Text
|
||||
'when' Text
|
||||
' ' Text
|
||||
'needed' Text
|
||||
' ' Text
|
||||
'instead' Text
|
||||
' ' Text
|
||||
'of' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'left' Text
|
||||
' ' Text
|
||||
'margin' Text
|
||||
' ' Text
|
||||
'only' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'colon' Text
|
||||
' ' Text
|
||||
'does' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'</' Punctuation
|
||||
'blockquote' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'div' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
'123' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
'456' Text
|
||||
'\n' Text
|
||||
|
||||
'----' Keyword
|
||||
'\n' Text
|
||||
|
||||
'</' Punctuation
|
||||
'div' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Use' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'small' Name.Tag
|
||||
' >' Punctuation
|
||||
'small' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'</' Punctuation
|
||||
'small' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'only' Text
|
||||
' ' Text
|
||||
'when' Text
|
||||
' ' Text
|
||||
'necessary' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'To' Text
|
||||
' ' Text
|
||||
'match' Text
|
||||
',' Text
|
||||
' ' Text
|
||||
'for' Text
|
||||
' ' Text
|
||||
'example' Text
|
||||
',' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'font' Text
|
||||
'-' Text
|
||||
'size' Text
|
||||
' ' Text
|
||||
'used' Text
|
||||
' ' Text
|
||||
'in' Text
|
||||
' ' Text
|
||||
'an' Text
|
||||
' ' Text
|
||||
'image' Text
|
||||
' ' Text
|
||||
'caption' Text
|
||||
',' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'"' Text
|
||||
'small' Text
|
||||
'"' Text
|
||||
' ' Text
|
||||
'tag' Text
|
||||
' ' Text
|
||||
'can' Text
|
||||
' ' Text
|
||||
'also' Text
|
||||
' ' Text
|
||||
'be' Text
|
||||
' ' Text
|
||||
'used' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'small' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'style' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'font' Literal.String.Double
|
||||
'-' Literal.String.Double
|
||||
'size' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
'87' Literal.String.Double
|
||||
'%' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'reduce' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
"'" Text
|
||||
's' Text
|
||||
' ' Text
|
||||
'font' Text
|
||||
'-' Text
|
||||
'size' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'87' Text
|
||||
'%' Text
|
||||
'</' Punctuation
|
||||
'small' Name.Tag
|
||||
'>' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Better' Text
|
||||
' ' Text
|
||||
'not' Text
|
||||
' ' Text
|
||||
'use' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'big' Name.Tag
|
||||
'>' Punctuation
|
||||
'big' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'</' Punctuation
|
||||
'big' Name.Tag
|
||||
'>' Punctuation
|
||||
',' Text
|
||||
' ' Text
|
||||
'unless' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'small' Name.Tag
|
||||
'>' Punctuation
|
||||
'it' Text
|
||||
"'" Text
|
||||
's' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'big' Name.Tag
|
||||
'>' Punctuation
|
||||
'within' Text
|
||||
'</' Punctuation
|
||||
'big' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'small' Text
|
||||
'</' Punctuation
|
||||
'small' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'text' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'x' Text
|
||||
'<' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
'1' Text
|
||||
'</' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'x' Text
|
||||
'<' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
'2' Text
|
||||
'</' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'x' Text
|
||||
'<' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
'3' Text
|
||||
'</' Punctuation
|
||||
'sub' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'function' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'code' Name.Tag
|
||||
'>' Punctuation
|
||||
'int' Text
|
||||
' ' Text
|
||||
'm2' Text
|
||||
'(' Text
|
||||
')' Text
|
||||
'</' Punctuation
|
||||
'code' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'nice' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'You' Text
|
||||
' ' Text
|
||||
'can' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'del' Name.Tag
|
||||
'>' Punctuation
|
||||
'indicate' Text
|
||||
' ' Text
|
||||
'deleted' Text
|
||||
' ' Text
|
||||
'material' Text
|
||||
'</' Punctuation
|
||||
'del' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'and' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'ins' Name.Tag
|
||||
'>' Punctuation
|
||||
'inserted' Text
|
||||
' ' Text
|
||||
'material' Text
|
||||
'</' Punctuation
|
||||
'ins' Name.Tag
|
||||
'>' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'div' Name.Tag
|
||||
' >' Punctuation
|
||||
'</' Punctuation
|
||||
'div' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'span' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'<!-- this is a comment -->' Comment.Multiline
|
||||
' >' Punctuation
|
||||
'</' Punctuation
|
||||
'span' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'span' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'class' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'citation' Literal.String.Double
|
||||
' ' Literal.String.Double
|
||||
'{{{' Punctuation
|
||||
'Citation class' Name.Variable
|
||||
'|' Punctuation
|
||||
'{{{' Punctuation
|
||||
'Citation type' Name.Variable
|
||||
'|' Punctuation
|
||||
'}}}' Punctuation
|
||||
'}}}' Punctuation
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'</' Punctuation
|
||||
'span' Name.Tag
|
||||
'>' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<' Text
|
||||
'a' Text
|
||||
'>' Text
|
||||
'<' Text
|
||||
'/' Text
|
||||
'a' Text
|
||||
'>' Text
|
||||
'\n' Text
|
481
spec/unsupported_lexers/wikitext/language-converter.txt
Normal file
481
spec/unsupported_lexers/wikitext/language-converter.txt
Normal file
@ -0,0 +1,481 @@
|
||||
---input---
|
||||
-{R|zh-cn:博客;; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{T|zh-cn:博客; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{A|zh-cn:博客; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{H|zh-cn:博客; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{-|zh-cn:博客; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{H|zh-cn:[[博客]]; zh-hk:網誌; zh-tw:部落格}-
|
||||
|
||||
-{zh-cn:博客; zh-hk:網誌; zh-tw:部落格;}-
|
||||
-{zh-cn:[[博客]]; zh-hk:網誌; zh-tw:部落格}-
|
||||
-{zh-cn:[[博客]]; zh-hk:網誌; zh-tw:部落格; }-
|
||||
|
||||
-{H|巨集=>zh-cn:宏;}-
|
||||
-{D|U槽=>zh-cn:U盘; U槽=>zh-sg:U盘; U槽=>zh-my:U盘; U槽=>zh-tw:USB磁碟機; U槽=>zh-hk:U磁碟機; U槽=>zh-mo:U磁碟機}-
|
||||
|
||||
北-{}-韓、北朝-{}-鲜
|
||||
|
||||
-{部落格}- -{[[部落格]]}-
|
||||
|
||||
-{zh;zh-hans;zh-hant|博客、網誌、部落格}-
|
||||
-{zh;zh-hans;zh-hant|zh-hans:博客、網誌、部落格;zh-hant:;;;;;;;;;}-
|
||||
-{zh;zh-cn;zh-hk|博客、網誌、部落格}-
|
||||
|
||||
-{zh-cn:-{[[博客]]}-; zh-invalid:網誌; zh-tw:部落格}-
|
||||
-{zh-invalid:''a''[[博客]];;;zh-cn:a}-
|
||||
-{zh:''a''[[博客]]}-
|
||||
-{zh-hans:<span style="font-size:120%;">xxx</span>;zh-hant:\
|
||||
<span style="font-size:120%;">yyy</span>;}-
|
||||
|
||||
-{{This is a template}}-
|
||||
-{{{This is a template parameter}}}-
|
||||
|
||||
---tokens---
|
||||
'-{' Punctuation
|
||||
'R' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'T' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'A' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'H' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'-' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'H' Keyword
|
||||
'|' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'博客' Text
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
';' Punctuation
|
||||
' zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'H' Keyword
|
||||
'|' Punctuation
|
||||
'巨集' Text
|
||||
'=>' Operator
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'宏' Text
|
||||
';' Punctuation
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'D' Keyword
|
||||
'|' Punctuation
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'U盘' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-sg' Name.Label
|
||||
':' Punctuation
|
||||
'U盘' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-my' Name.Label
|
||||
':' Punctuation
|
||||
'U盘' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'USB磁碟機' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-hk' Name.Label
|
||||
':' Punctuation
|
||||
'U磁碟機' Text
|
||||
';' Punctuation
|
||||
' ' Text
|
||||
'U槽' Text
|
||||
'=>' Operator
|
||||
'zh-mo' Name.Label
|
||||
':' Punctuation
|
||||
'U磁碟機' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'北' Text
|
||||
'-{' Punctuation
|
||||
'}-' Punctuation
|
||||
'韓' Text
|
||||
'、' Text
|
||||
'北朝' Text
|
||||
'-{' Punctuation
|
||||
'}-' Punctuation
|
||||
'鲜' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
' ' Text
|
||||
'-{' Punctuation
|
||||
'[[' Punctuation
|
||||
'部落格' Name.Tag
|
||||
']]' Punctuation
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'hans' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'hant' Keyword
|
||||
'|' Punctuation
|
||||
'博客' Text
|
||||
'、' Text
|
||||
'網誌' Text
|
||||
'、' Text
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'hans' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'hant' Keyword
|
||||
'|' Punctuation
|
||||
'zh' Text
|
||||
'-' Text
|
||||
'hans' Text
|
||||
':' Text
|
||||
'博客' Text
|
||||
'、' Text
|
||||
'網誌' Text
|
||||
'、' Text
|
||||
'部落格' Text
|
||||
';' Text
|
||||
'zh' Text
|
||||
'-' Text
|
||||
'hant' Text
|
||||
':' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
';' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'cn' Keyword
|
||||
';' Punctuation
|
||||
'zh' Keyword
|
||||
'-' Keyword
|
||||
'hk' Keyword
|
||||
'|' Punctuation
|
||||
'博客' Text
|
||||
'、' Text
|
||||
'網誌' Text
|
||||
'、' Text
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'-{' Punctuation
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
'}-' Punctuation
|
||||
';' Text
|
||||
' ' Text
|
||||
'zh' Text
|
||||
'-' Text
|
||||
'invalid' Text
|
||||
':' Text
|
||||
'網誌' Text
|
||||
';' Punctuation
|
||||
' zh-tw' Name.Label
|
||||
':' Punctuation
|
||||
'部落格' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh' Text
|
||||
'-' Text
|
||||
'invalid' Text
|
||||
':' Text
|
||||
"''" Generic.Emph
|
||||
'a' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
';' Text
|
||||
';' Text
|
||||
';' Punctuation
|
||||
'zh-cn' Name.Label
|
||||
':' Punctuation
|
||||
'a' Text
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh' Name.Label
|
||||
':' Punctuation
|
||||
"''" Generic.Emph
|
||||
'a' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'[[' Punctuation
|
||||
'博客' Name.Tag
|
||||
']]' Punctuation
|
||||
'}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'-{' Punctuation
|
||||
'zh-hans' Name.Label
|
||||
':' Punctuation
|
||||
'<' Punctuation
|
||||
'span' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'style' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'font' Literal.String.Double
|
||||
'-' Literal.String.Double
|
||||
'size' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
'120' Literal.String.Double
|
||||
'%' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'xxx' Text
|
||||
'</' Punctuation
|
||||
'span' Name.Tag
|
||||
'>' Punctuation
|
||||
';' Punctuation
|
||||
'zh-hant' Name.Label
|
||||
':' Punctuation
|
||||
'\\' Text
|
||||
'\n' Text
|
||||
|
||||
'<' Punctuation
|
||||
'span' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'style' Name.Attribute
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'font' Literal.String.Double
|
||||
'-' Literal.String.Double
|
||||
'size' Literal.String.Double
|
||||
':' Literal.String.Double
|
||||
'120' Literal.String.Double
|
||||
'%' Literal.String.Double
|
||||
';' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
'>' Punctuation
|
||||
'yyy' Text
|
||||
'</' Punctuation
|
||||
'span' Name.Tag
|
||||
'>' Punctuation
|
||||
';}-' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'-' Text
|
||||
'{{' Punctuation
|
||||
'This' Name.Tag
|
||||
' ' Name.Tag
|
||||
'is' Name.Tag
|
||||
' ' Name.Tag
|
||||
'a' Name.Tag
|
||||
' ' Name.Tag
|
||||
'template' Name.Tag
|
||||
'}}' Punctuation
|
||||
'-' Text
|
||||
'\n' Text
|
||||
|
||||
'-' Text
|
||||
'{{{' Punctuation
|
||||
'This is a template parameter' Name.Variable
|
||||
'}}}' Punctuation
|
||||
'-' Text
|
||||
'\n' Text
|
532
spec/unsupported_lexers/wikitext/list.txt
Normal file
532
spec/unsupported_lexers/wikitext/list.txt
Normal file
@ -0,0 +1,532 @@
|
||||
---input---
|
||||
; Term : Definition1
|
||||
: Definition2
|
||||
|
||||
; '''Term'''
|
||||
: Definition1
|
||||
: Definition2
|
||||
: Definition3
|
||||
: Definition4
|
||||
|
||||
; [[Wikipedia:Term#123|Blah]] : Definition1
|
||||
|
||||
; [[Wikipedia:Term#123|Blah]]
|
||||
: Definition1
|
||||
|
||||
# Item1
|
||||
# ''Item2''
|
||||
# Item3
|
||||
# [[Item4]]
|
||||
## Sub-item 1
|
||||
### Sub-sub-item
|
||||
#### Sub-sub-sub-item
|
||||
## Sub-item 2
|
||||
# Item5
|
||||
|
||||
* Item1
|
||||
* '''Item2'''
|
||||
* Item3
|
||||
* [[Item4]]
|
||||
** Sub-item 4 a)
|
||||
*** Sub-item 4 a) 1.
|
||||
**** Sub-item 4 a) 1. i)
|
||||
**** Sub-item 4 a) 1. ii)
|
||||
** Sub-item 4 b)
|
||||
* Item5
|
||||
|
||||
Indentation as used on talk pages:
|
||||
:[[Each]] ''colon'' at the '''start''' of a line
|
||||
::causes the line to be indented by three more character positions.
|
||||
:::(The indentation persists
|
||||
so long as no carriage return or line break is used.)
|
||||
:::Repeat the indentation at any line break.
|
||||
::::Use an extra colon for each response.
|
||||
:::::And so forth ...
|
||||
::::::And so on ...
|
||||
{{Outdent|::::::}}The outdent template can give a visual indicator that we're deliberately cancelling the indent (6 levels here)
|
||||
|
||||
:*# Mixed list
|
||||
::##:*: Complex mixed list
|
||||
|
||||
---tokens---
|
||||
';' Keyword
|
||||
' ' Text
|
||||
'Term' Text
|
||||
' ' Text
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition1' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition2' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
';' Keyword
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'Term' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition1' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition2' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition3' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition4' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
';' Keyword
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'Wikipedia' Name.Namespace
|
||||
':' Punctuation
|
||||
'Term' Name.Tag
|
||||
'#' Punctuation
|
||||
'123' Name.Label
|
||||
'|' Punctuation
|
||||
'Blah' Text
|
||||
']]' Punctuation
|
||||
'\xa0' Text
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition1' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
';' Keyword
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'Wikipedia' Name.Namespace
|
||||
':' Punctuation
|
||||
'Term' Name.Tag
|
||||
'#' Punctuation
|
||||
'123' Name.Label
|
||||
'|' Punctuation
|
||||
'Blah' Text
|
||||
']]' Punctuation
|
||||
'\xa0' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
' ' Text
|
||||
'Definition1' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
' ' Text
|
||||
'Item1' Text
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'Item2' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
' ' Text
|
||||
'Item3' Text
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'Item4' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'##' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'1' Text
|
||||
'\n' Text
|
||||
|
||||
'###' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
'\n' Text
|
||||
|
||||
'####' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'sub' Text
|
||||
'-' Text
|
||||
'sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
'\n' Text
|
||||
|
||||
'##' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'2' Text
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
' ' Text
|
||||
'Item5' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'*' Keyword
|
||||
' ' Text
|
||||
'Item1' Text
|
||||
'\n' Text
|
||||
|
||||
'*' Keyword
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'Item2' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
'\n' Text
|
||||
|
||||
'*' Keyword
|
||||
' ' Text
|
||||
'Item3' Text
|
||||
'\n' Text
|
||||
|
||||
'*' Keyword
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'Item4' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'**' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
'***' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
')' Text
|
||||
' ' Text
|
||||
'1' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'****' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
')' Text
|
||||
' ' Text
|
||||
'1' Text
|
||||
'.' Text
|
||||
' ' Text
|
||||
'i' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
'****' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
')' Text
|
||||
' ' Text
|
||||
'1' Text
|
||||
'.' Text
|
||||
' ' Text
|
||||
'ii' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
'**' Keyword
|
||||
' ' Text
|
||||
'Sub' Text
|
||||
'-' Text
|
||||
'item' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
' ' Text
|
||||
'b' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
'*' Keyword
|
||||
' ' Text
|
||||
'Item5' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Indentation' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'used' Text
|
||||
' ' Text
|
||||
'on' Text
|
||||
' ' Text
|
||||
'talk' Text
|
||||
' ' Text
|
||||
'pages' Text
|
||||
':' Text
|
||||
'\n' Text
|
||||
|
||||
':' Keyword
|
||||
'[[' Punctuation
|
||||
'Each' Name.Tag
|
||||
']]' Punctuation
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'colon' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'at' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'start' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
' ' Text
|
||||
'of' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'line' Text
|
||||
'\n' Text
|
||||
|
||||
'::' Keyword
|
||||
'causes' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'line' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'be' Text
|
||||
' ' Text
|
||||
'indented' Text
|
||||
' ' Text
|
||||
'by' Text
|
||||
' ' Text
|
||||
'three' Text
|
||||
' ' Text
|
||||
'more' Text
|
||||
' ' Text
|
||||
'character' Text
|
||||
' ' Text
|
||||
'positions' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
':::' Keyword
|
||||
'(' Text
|
||||
'The' Text
|
||||
' ' Text
|
||||
'indentation' Text
|
||||
' ' Text
|
||||
'persists' Text
|
||||
'\n' Text
|
||||
|
||||
'so' Text
|
||||
' ' Text
|
||||
'long' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'no' Text
|
||||
' ' Text
|
||||
'carriage' Text
|
||||
' ' Text
|
||||
'return' Text
|
||||
' ' Text
|
||||
'or' Text
|
||||
' ' Text
|
||||
'line' Text
|
||||
' ' Text
|
||||
'break' Text
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'used' Text
|
||||
'.' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
':::' Keyword
|
||||
'Repeat' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'indentation' Text
|
||||
' ' Text
|
||||
'at' Text
|
||||
' ' Text
|
||||
'any' Text
|
||||
' ' Text
|
||||
'line' Text
|
||||
' ' Text
|
||||
'break' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'::::' Keyword
|
||||
'Use' Text
|
||||
' ' Text
|
||||
'an' Text
|
||||
' ' Text
|
||||
'extra' Text
|
||||
' ' Text
|
||||
'colon' Text
|
||||
' ' Text
|
||||
'for' Text
|
||||
' ' Text
|
||||
'each' Text
|
||||
' ' Text
|
||||
'response' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
':::::' Keyword
|
||||
'And' Text
|
||||
' ' Text
|
||||
'so' Text
|
||||
' ' Text
|
||||
'forth' Text
|
||||
' ' Text
|
||||
'.' Text
|
||||
'.' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'::::::' Keyword
|
||||
'And' Text
|
||||
' ' Text
|
||||
'so' Text
|
||||
' ' Text
|
||||
'on' Text
|
||||
' ' Text
|
||||
'.' Text
|
||||
'.' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Outdent' Name.Tag
|
||||
'|' Punctuation
|
||||
':' Text
|
||||
':' Text
|
||||
':' Text
|
||||
':' Text
|
||||
':' Text
|
||||
':' Text
|
||||
'}}' Punctuation
|
||||
'The' Text
|
||||
' ' Text
|
||||
'outdent' Text
|
||||
' ' Text
|
||||
'template' Text
|
||||
' ' Text
|
||||
'can' Text
|
||||
' ' Text
|
||||
'give' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'visual' Text
|
||||
' ' Text
|
||||
'indicator' Text
|
||||
' ' Text
|
||||
'that' Text
|
||||
' ' Text
|
||||
'we' Text
|
||||
"'" Text
|
||||
're' Text
|
||||
' ' Text
|
||||
'deliberately' Text
|
||||
' ' Text
|
||||
'cancelling' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'indent' Text
|
||||
' ' Text
|
||||
'(' Text
|
||||
'6' Text
|
||||
' ' Text
|
||||
'levels' Text
|
||||
' ' Text
|
||||
'here' Text
|
||||
')' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
':*#' Keyword
|
||||
' ' Text
|
||||
'Mixed' Text
|
||||
' ' Text
|
||||
'list' Text
|
||||
'\n' Text
|
||||
|
||||
'::##:*:' Keyword
|
||||
' ' Text
|
||||
'Complex' Text
|
||||
' ' Text
|
||||
'mixed' Text
|
||||
' ' Text
|
||||
'list' Text
|
||||
'\n' Text
|
52
spec/unsupported_lexers/wikitext/magic-link.txt
Normal file
52
spec/unsupported_lexers/wikitext/magic-link.txt
Normal file
@ -0,0 +1,52 @@
|
||||
---input---
|
||||
RFC 1
|
||||
RFC 2
|
||||
RFC 3f
|
||||
rfc 4
|
||||
PMID    114514
|
||||
ISBN 978-3-16-148410-0
|
||||
ISBN 978 3 16-148410 0
|
||||
https://example.com
|
||||
irc://example.com
|
||||
nolink://example.com
|
||||
|
||||
---tokens---
|
||||
'RFC 1' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'RFC 2' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'RFC' Text
|
||||
' ' Text
|
||||
'3f' Text
|
||||
'\n' Text
|
||||
|
||||
'rfc' Text
|
||||
' ' Text
|
||||
'4' Text
|
||||
'\n' Text
|
||||
|
||||
'PMID    114514' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'ISBN 978-3-16-148410-0' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'ISBN 978 3 16-148410 0' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'https://example.com' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'irc://example.com' Name.Label
|
||||
'\n' Text
|
||||
|
||||
'nolink' Text
|
||||
':' Text
|
||||
'/' Text
|
||||
'/' Text
|
||||
'example' Text
|
||||
'.' Text
|
||||
'com' Text
|
||||
'\n' Text
|
157
spec/unsupported_lexers/wikitext/magic-word.txt
Normal file
157
spec/unsupported_lexers/wikitext/magic-word.txt
Normal file
@ -0,0 +1,157 @@
|
||||
---input---
|
||||
__NOTOC__
|
||||
__FORCETOC__
|
||||
__TOC__
|
||||
__NOEDITSECTION__
|
||||
__NEWSECTIONLINK__
|
||||
__NONEWSECTIONLINK__
|
||||
__NOGALLERY__
|
||||
__HIDDENCAT__
|
||||
__EXPECTUNUSEDCATEGORY__
|
||||
__NOCONTENTCONVERT__
|
||||
__NOCC__
|
||||
__NOTITLECONVERT__
|
||||
__NOTC__
|
||||
__INDEX__
|
||||
__NOINDEX__
|
||||
__STATICREDIRECT__
|
||||
__NOGLOBAL__
|
||||
__DISAMBIG__
|
||||
__EXPECTED_UNCONNECTED_PAGE__
|
||||
|
||||
__notoc__
|
||||
__forcetoc__
|
||||
__toc__
|
||||
__noeditsection__
|
||||
__newsectionlink__
|
||||
__nonewsectionlink__
|
||||
__nogallery__
|
||||
__hiddencat__
|
||||
__expectunusedcategory__
|
||||
__nocontentconvert__
|
||||
__nocc__
|
||||
__notitleconvert__
|
||||
__notc__
|
||||
__index__
|
||||
__noindex__
|
||||
__staticredirect__
|
||||
__noglobal__
|
||||
__disambig__
|
||||
__expected_unconnected_page__
|
||||
|
||||
---tokens---
|
||||
'__NOTOC__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__FORCETOC__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__TOC__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOEDITSECTION__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NEWSECTIONLINK__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NONEWSECTIONLINK__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOGALLERY__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__HIDDENCAT__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__EXPECTUNUSEDCATEGORY__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOCONTENTCONVERT__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOCC__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOTITLECONVERT__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOTC__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__INDEX__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOINDEX__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__STATICREDIRECT__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__NOGLOBAL__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__DISAMBIG__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__EXPECTED_UNCONNECTED_PAGE__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'__notoc__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__forcetoc__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__toc__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__noeditsection__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__newsectionlink__' Text
|
||||
'\n' Text
|
||||
|
||||
'__nonewsectionlink__' Text
|
||||
'\n' Text
|
||||
|
||||
'__nogallery__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__hiddencat__' Text
|
||||
'\n' Text
|
||||
|
||||
'__expectunusedcategory__' Text
|
||||
'\n' Text
|
||||
|
||||
'__nocontentconvert__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__nocc__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__notitleconvert__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__notc__' Name.Function.Magic
|
||||
'\n' Text
|
||||
|
||||
'__index__' Text
|
||||
'\n' Text
|
||||
|
||||
'__noindex__' Text
|
||||
'\n' Text
|
||||
|
||||
'__staticredirect__' Text
|
||||
'\n' Text
|
||||
|
||||
'__noglobal__' Text
|
||||
'\n' Text
|
||||
|
||||
'__disambig__' Text
|
||||
'\n' Text
|
||||
|
||||
'__expected_unconnected_page__' Text
|
||||
'\n' Text
|
171
spec/unsupported_lexers/wikitext/medialink.txt
Normal file
171
spec/unsupported_lexers/wikitext/medialink.txt
Normal file
@ -0,0 +1,171 @@
|
||||
---input---
|
||||
[[File:wiki.png|thumb|Wikipedia logo]]
|
||||
[[File:wiki.png]]
|
||||
[[File:wiki.png|alt=Puzzle globe logo]]
|
||||
[[File:wiki.png|link=Wikipedia]]
|
||||
[[File:wiki.png|frame|centre|alt=Puzzle globe|Wikipedia logo]]
|
||||
[[File:wiki.png|thumb|left|alt=Puzzle globe|Wikipedia logo]]
|
||||
[[File:wiki.png|50 px|Wikipedia encyclopedia]]
|
||||
[[File:wiki.png|thumb|[[a|b]]]]
|
||||
[[File:wiki.png|thumb|[https://www.google.com]]]
|
||||
|
||||
[[Media:wiki.png|Image of jigsaw globe]]
|
||||
[[media:Classical guitar scale.ogg|Sound]]
|
||||
|
||||
---tokens---
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'thumb' Text
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
'logo' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'alt' Name.Attribute
|
||||
'=' Operator
|
||||
'Puzzle' Text
|
||||
' ' Text
|
||||
'globe' Text
|
||||
' ' Text
|
||||
'logo' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'link' Name.Attribute
|
||||
'=' Operator
|
||||
'Wikipedia' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'frame' Text
|
||||
'|' Punctuation
|
||||
'centre' Text
|
||||
'|' Punctuation
|
||||
'alt' Name.Attribute
|
||||
'=' Operator
|
||||
'Puzzle' Text
|
||||
' ' Text
|
||||
'globe' Text
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
'logo' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'thumb' Text
|
||||
'|' Punctuation
|
||||
'left' Text
|
||||
'|' Punctuation
|
||||
'alt' Name.Attribute
|
||||
'=' Operator
|
||||
'Puzzle' Text
|
||||
' ' Text
|
||||
'globe' Text
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
'logo' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'50' Text
|
||||
' ' Text
|
||||
'px' Text
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
'encyclopedia' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'thumb' Text
|
||||
'|' Punctuation
|
||||
'[[' Punctuation
|
||||
'a' Name.Tag
|
||||
'|' Punctuation
|
||||
'b' Text
|
||||
']]' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'thumb' Text
|
||||
'|' Punctuation
|
||||
'[' Punctuation
|
||||
'https://www.google.com' Name.Label
|
||||
']' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Media' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'Image' Text
|
||||
' ' Text
|
||||
'of' Text
|
||||
' ' Text
|
||||
'jigsaw' Text
|
||||
' ' Text
|
||||
'globe' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'media' Name.Namespace
|
||||
':' Punctuation
|
||||
'Classical guitar scale.ogg' Name.Tag
|
||||
'|' Punctuation
|
||||
'Sound' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
@ -0,0 +1,22 @@
|
||||
---input---
|
||||
#REDIRECT [[Test]]
|
||||
|
||||
#REDIRECT [[Test]]
|
||||
|
||||
---tokens---
|
||||
'#REDIRECT' Keyword
|
||||
' ' Text.Whitespace
|
||||
'[[' Punctuation
|
||||
'Test' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text
|
||||
|
||||
'#' Keyword
|
||||
'REDIRECT' Text
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'Test' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
2717
spec/unsupported_lexers/wikitext/parser-function.txt
Normal file
2717
spec/unsupported_lexers/wikitext/parser-function.txt
Normal file
File diff suppressed because it is too large
Load Diff
2200
spec/unsupported_lexers/wikitext/parser-tag.txt
Normal file
2200
spec/unsupported_lexers/wikitext/parser-tag.txt
Normal file
File diff suppressed because it is too large
Load Diff
24
spec/unsupported_lexers/wikitext/signurature.txt
Normal file
24
spec/unsupported_lexers/wikitext/signurature.txt
Normal file
@ -0,0 +1,24 @@
|
||||
---input---
|
||||
~~
|
||||
~~~
|
||||
~~~~
|
||||
~~~~~
|
||||
~~~~~~
|
||||
|
||||
---tokens---
|
||||
'~' Text
|
||||
'~' Text
|
||||
'\n' Text
|
||||
|
||||
'~~~' Keyword
|
||||
'\n' Text
|
||||
|
||||
'~~~~' Keyword
|
||||
'\n' Text
|
||||
|
||||
'~~~~~' Keyword
|
||||
'\n' Text
|
||||
|
||||
'~~~~~' Keyword
|
||||
'~' Text
|
||||
'\n' Text
|
2323
spec/unsupported_lexers/wikitext/table.txt
Normal file
2323
spec/unsupported_lexers/wikitext/table.txt
Normal file
File diff suppressed because it is too large
Load Diff
617
spec/unsupported_lexers/wikitext/template.txt
Normal file
617
spec/unsupported_lexers/wikitext/template.txt
Normal file
@ -0,0 +1,617 @@
|
||||
---input---
|
||||
{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }}
|
||||
{{payoff matrix
|
||||
| UL = 5
|
||||
| UR = 7
|
||||
| DL = 2
|
||||
| DR = 9
|
||||
| Name = Example usage
|
||||
}}
|
||||
|
||||
{{Wikipedia:foo|1=1}}
|
||||
{{Wikipe{{void}}dia:foo|1=1}}
|
||||
{{:foo|1=1}}
|
||||
|
||||
{{short description|Wikipedia help page}}
|
||||
{{pp-move-indef|small=yes}}
|
||||
{{pp-vandalism|small=yes}}
|
||||
{{for|the '''encyclopedic''' section on wikitext|Wiki#Editing}}
|
||||
{{redirect|H:WT|the welcoming templates|Wikipedia:Welcoming committee/Welcome templates}}
|
||||
{{Locutions pages header}}
|
||||
{{Wikipedia how to|H:WT|H:MARKUP|H:WIKICODE}}
|
||||
{{Wikitext navbox}}
|
||||
|
||||
{{Template|1={{{1}}}}}
|
||||
|
||||
{{vo{{void|void}}id|param1=1|par{{void}}am2=2}}
|
||||
|
||||
{{math|2''x'' × 4''y'' ÷ 6''z'' + 8 − {{sfrac|''y''|''z''<sup>2</sup>}} {{=}} 0}}
|
||||
|
||||
{{math|sin 2π''x'' + ln ''e''}}
|
||||
It follows that {{math|''x''<sup>2</sup> ≥ 0}} for real {{mvar|x}}.
|
||||
|
||||
{{Help:Transclusion demo}}
|
||||
|
||||
{{Tooltip|Hover your mouse over this text
|
||||
|This is the hover text}}
|
||||
|
||||
Go to this page to see the Tooltip
|
||||
template itself: {{tl|Tooltip}}
|
||||
|
||||
This is how to {{Font color||yellow|highlight part of a sentence}}.
|
||||
|
||||
{{msg:xyz}}
|
||||
{{raw:xyz}}
|
||||
{{msgnw:xyz}}
|
||||
{{subst:xyz}}
|
||||
{{safesubst:xyz}}
|
||||
|
||||
{{{1}}}
|
||||
{{{IncludedWorkURL|}}}
|
||||
{{{Citation class|{{{Citation type|}}}}}}
|
||||
|
||||
---tokens---
|
||||
'{{' Punctuation
|
||||
'payoff' Name.Tag
|
||||
' ' Name.Tag
|
||||
'matrix' Name.Tag
|
||||
' ' Text
|
||||
'|' Punctuation
|
||||
' UL ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'5' Text
|
||||
' ' Text
|
||||
'|' Punctuation
|
||||
' UR ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'7' Text
|
||||
' ' Text
|
||||
'|' Punctuation
|
||||
' DL ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'2' Text
|
||||
' ' Text
|
||||
'|' Punctuation
|
||||
' DR ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'9' Text
|
||||
' ' Text
|
||||
'|' Punctuation
|
||||
' Name ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'Example' Text
|
||||
' ' Text
|
||||
'usage' Text
|
||||
' ' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'payoff' Name.Tag
|
||||
' ' Name.Tag
|
||||
'matrix' Name.Tag
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
' UL ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'5' Text
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
' UR ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'7' Text
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
' DL ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'2' Text
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
' DR ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'9' Text
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
' Name ' Name.Label
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'Example' Text
|
||||
' ' Text
|
||||
'usage' Text
|
||||
'\n' Text
|
||||
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Wikipedia' Name.Namespace
|
||||
':' Punctuation
|
||||
'foo' Name.Tag
|
||||
'|' Punctuation
|
||||
'1' Name.Label
|
||||
'=' Operator
|
||||
'1' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Wikipe' Name.Tag
|
||||
'{{' Punctuation
|
||||
'void' Name.Tag
|
||||
'}}' Punctuation
|
||||
'dia' Name.Tag
|
||||
':' Name.Tag
|
||||
'foo' Name.Tag
|
||||
'|' Punctuation
|
||||
'1' Name.Label
|
||||
'=' Operator
|
||||
'1' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
':' Punctuation
|
||||
'foo' Name.Tag
|
||||
'|' Punctuation
|
||||
'1' Name.Label
|
||||
'=' Operator
|
||||
'1' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'short' Name.Tag
|
||||
' ' Name.Tag
|
||||
'description' Name.Tag
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
'help' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'pp' Name.Tag
|
||||
'-' Name.Tag
|
||||
'move' Name.Tag
|
||||
'-' Name.Tag
|
||||
'indef' Name.Tag
|
||||
'|' Punctuation
|
||||
'small' Name.Label
|
||||
'=' Operator
|
||||
'yes' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'pp' Name.Tag
|
||||
'-' Name.Tag
|
||||
'vandalism' Name.Tag
|
||||
'|' Punctuation
|
||||
'small' Name.Label
|
||||
'=' Operator
|
||||
'yes' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'for' Name.Tag
|
||||
'|' Punctuation
|
||||
'the' Text
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'encyclopedic' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
' ' Text
|
||||
'section' Text
|
||||
' ' Text
|
||||
'on' Text
|
||||
' ' Text
|
||||
'wikitext' Text
|
||||
'|' Punctuation
|
||||
'Wiki' Text
|
||||
'#' Text
|
||||
'Editing' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'redirect' Name.Tag
|
||||
'|' Punctuation
|
||||
'H' Text
|
||||
':' Text
|
||||
'WT' Text
|
||||
'|' Punctuation
|
||||
'the' Text
|
||||
' ' Text
|
||||
'welcoming' Text
|
||||
' ' Text
|
||||
'templates' Text
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
':' Text
|
||||
'Welcoming' Text
|
||||
' ' Text
|
||||
'committee' Text
|
||||
'/' Text
|
||||
'Welcome' Text
|
||||
' ' Text
|
||||
'templates' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Locutions' Name.Tag
|
||||
' ' Name.Tag
|
||||
'pages' Name.Tag
|
||||
' ' Name.Tag
|
||||
'header' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Wikipedia' Name.Tag
|
||||
' ' Name.Tag
|
||||
'how' Name.Tag
|
||||
' ' Name.Tag
|
||||
'to' Name.Tag
|
||||
'|' Punctuation
|
||||
'H' Text
|
||||
':' Text
|
||||
'WT' Text
|
||||
'|' Punctuation
|
||||
'H' Text
|
||||
':' Text
|
||||
'MARKUP' Text
|
||||
'|' Punctuation
|
||||
'H' Text
|
||||
':' Text
|
||||
'WIKICODE' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Wikitext' Name.Tag
|
||||
' ' Name.Tag
|
||||
'navbox' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Template' Name.Tag
|
||||
'|' Punctuation
|
||||
'1' Name.Label
|
||||
'=' Operator
|
||||
'{{{' Punctuation
|
||||
'1' Name.Variable
|
||||
'}}}' Punctuation
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'vo' Name.Tag
|
||||
'{{' Punctuation
|
||||
'void' Name.Tag
|
||||
'|' Punctuation
|
||||
'void' Text
|
||||
'}}' Punctuation
|
||||
'id' Name.Tag
|
||||
'|' Punctuation
|
||||
'param1' Name.Label
|
||||
'=' Operator
|
||||
'1' Text
|
||||
'|' Punctuation
|
||||
'par' Text
|
||||
'{{' Punctuation
|
||||
'void' Name.Tag
|
||||
'}}' Punctuation
|
||||
'am2' Text
|
||||
'=' Text
|
||||
'2' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'math' Name.Tag
|
||||
'|' Punctuation
|
||||
'2' Text
|
||||
"''" Generic.Emph
|
||||
'x' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'×' Name.Entity
|
||||
' ' Text
|
||||
'4' Text
|
||||
"''" Generic.Emph
|
||||
'y' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'÷' Name.Entity
|
||||
' ' Text
|
||||
'6' Text
|
||||
"''" Generic.Emph
|
||||
'z' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'+' Text
|
||||
' ' Text
|
||||
'8' Text
|
||||
' ' Text
|
||||
'−' Name.Entity
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'sfrac' Name.Tag
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'y' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'z' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'<' Punctuation
|
||||
'sup' Name.Tag
|
||||
'>' Punctuation
|
||||
'2' Text
|
||||
'</' Punctuation
|
||||
'sup' Name.Tag
|
||||
'>' Punctuation
|
||||
'}}' Punctuation
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'=' Name.Function
|
||||
'}}' Punctuation
|
||||
' ' Text
|
||||
'0' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'math' Name.Tag
|
||||
'|' Punctuation
|
||||
'sin' Text
|
||||
' ' Text
|
||||
'2' Text
|
||||
'π' Name.Entity
|
||||
"''" Generic.Emph
|
||||
'x' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'+' Text
|
||||
' ' Text
|
||||
'ln' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'e' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'It' Text
|
||||
' ' Text
|
||||
'follows' Text
|
||||
' ' Text
|
||||
'that' Text
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'math' Name.Tag
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'x' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'<' Punctuation
|
||||
'sup' Name.Tag
|
||||
'>' Punctuation
|
||||
'2' Text
|
||||
'</' Punctuation
|
||||
'sup' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'≥' Name.Entity
|
||||
' ' Text
|
||||
'0' Text
|
||||
'}}' Punctuation
|
||||
' ' Text
|
||||
'for' Text
|
||||
' ' Text
|
||||
'real' Text
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'mvar' Name.Tag
|
||||
'|' Punctuation
|
||||
'x' Text
|
||||
'}}' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Help' Name.Namespace
|
||||
':' Punctuation
|
||||
'Transclusion' Name.Tag
|
||||
' ' Name.Tag
|
||||
'demo' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'Tooltip' Name.Tag
|
||||
'|' Punctuation
|
||||
'Hover' Text
|
||||
' ' Text
|
||||
'your' Text
|
||||
' ' Text
|
||||
'mouse' Text
|
||||
' ' Text
|
||||
'over' Text
|
||||
' ' Text
|
||||
'this' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'\n' Text
|
||||
|
||||
'|' Punctuation
|
||||
'This' Text
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'hover' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Go' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'this' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'see' Text
|
||||
' ' Text
|
||||
'the' Text
|
||||
' ' Text
|
||||
'Tooltip' Text
|
||||
'\n' Text
|
||||
|
||||
'template' Text
|
||||
' ' Text
|
||||
'itself' Text
|
||||
':' Text
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'tl' Name.Tag
|
||||
'|' Punctuation
|
||||
'Tooltip' Text
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'This' Text
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'how' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'{{' Punctuation
|
||||
'Font' Name.Tag
|
||||
' ' Name.Tag
|
||||
'color' Name.Tag
|
||||
'|' Punctuation
|
||||
'|' Punctuation
|
||||
'yellow' Text
|
||||
'|' Punctuation
|
||||
'highlight' Text
|
||||
' ' Text
|
||||
'part' Text
|
||||
' ' Text
|
||||
'of' Text
|
||||
' ' Text
|
||||
'a' Text
|
||||
' ' Text
|
||||
'sentence' Text
|
||||
'}}' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'msg' Name.Namespace
|
||||
':' Punctuation
|
||||
'xyz' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'raw' Name.Namespace
|
||||
':' Punctuation
|
||||
'xyz' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'msgnw' Name.Namespace
|
||||
':' Punctuation
|
||||
'xyz' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'subst' Name.Namespace
|
||||
':' Punctuation
|
||||
'xyz' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{' Punctuation
|
||||
'safesubst' Name.Namespace
|
||||
':' Punctuation
|
||||
'xyz' Name.Tag
|
||||
'}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'{{{' Punctuation
|
||||
'1' Name.Variable
|
||||
'}}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{{' Punctuation
|
||||
'IncludedWorkURL' Name.Variable
|
||||
'|' Punctuation
|
||||
'}}}' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'{{{' Punctuation
|
||||
'Citation class' Name.Variable
|
||||
'|' Punctuation
|
||||
'{{{' Punctuation
|
||||
'Citation type' Name.Variable
|
||||
'|' Punctuation
|
||||
'}}}' Punctuation
|
||||
'}}}' Punctuation
|
||||
'\n' Text
|
790
spec/unsupported_lexers/wikitext/wikilink.txt
Normal file
790
spec/unsupported_lexers/wikitext/wikilink.txt
Normal file
@ -0,0 +1,790 @@
|
||||
---input---
|
||||
[[a|
|
||||
b''b''
|
||||
]]
|
||||
|
||||
[[维基百科:关于|关于]]
|
||||
|
||||
[[Edge case#]]
|
||||
|
||||
[[Edge case#|another]]
|
||||
|
||||
[[ pagename | https://www.example.com ]]
|
||||
|
||||
[[| this is legal! ]]
|
||||
|
||||
[[ | this is illegal! ]]
|
||||
|
||||
[[public transport#sth]]
|
||||
|
||||
[[:public transport#sth]]
|
||||
|
||||
[[:public transport]]
|
||||
|
||||
[[a:public transport]]
|
||||
|
||||
[[a:public transport#sth]]
|
||||
|
||||
[[a:public transport#sth|<code>a</code> b ''c'' '''d''' ~~~~ <nowiki>[[a]]</nowiki>]]
|
||||
|
||||
London has [[public transport]].
|
||||
|
||||
Link to this page: "[[Help:Wikitext]]" will appear only as bold text.
|
||||
|
||||
New York also has [[public transport|public transportation]].
|
||||
|
||||
[[kingdom (biology)|]]
|
||||
|
||||
[[Seattle, Washington|]]
|
||||
|
||||
[[Wikipedia:Manual of Style#Links|]]
|
||||
|
||||
[[:Category:Character sets|]]
|
||||
|
||||
[[commons:category:Wikimedia]]
|
||||
|
||||
[[Wiktionary:fr:bonjour]]
|
||||
|
||||
[[Wiktionary:fr:bonjour|]]
|
||||
|
||||
[[Wiktionary:fr:bonjour|bonjour]]
|
||||
|
||||
[[ wp:pagename | page name[[ wp:pagename | page name ]] [[ wp:pagename | page name ]] [[ wp:pagename[[ wp:pagename | page name ]] | page name ]] [[ wp:pagename | page nam[[ wp:pagename | page name ]]e ]]]]
|
||||
|
||||
[[ wp:pagename | page name ]]
|
||||
|
||||
[<nowiki />[ wp:pagename | page name ]]
|
||||
|
||||
[[<nowiki /> wp:pagename | page name ]]
|
||||
|
||||
[[ wp:pagename <nowiki />| page name ]]
|
||||
|
||||
[[ wp:pagename | page name ]<nowiki />]
|
||||
|
||||
[[a|]]]]
|
||||
|
||||
[[foo|[https://example.com]]]
|
||||
|
||||
[[a|[[]]]]
|
||||
|
||||
[[Hindenburg disaster|''Hindenburg'' disaster]]
|
||||
|
||||
[[Special:Diff/330349143/330350877|Diff between revisions 330349143 and 330350877]]
|
||||
|
||||
[[Special:Diff/330350877|Diff between revisions 330349143 and 330350877]]
|
||||
|
||||
[[Special:Permalink/330350877|Revision 330350877]]
|
||||
|
||||
[[Special:Contributions/2001:0db8:0000:0000:0000:ff00:0042:8329]]
|
||||
|
||||
[[Special:Contributions/UserName]]
|
||||
|
||||
[[File:wiki.png|thumb|left|alt={{User sandbox notice}}|Wikipedia ''logo'']]
|
||||
|
||||
[[A|[//example.com a b c]]]
|
||||
|
||||
'''[[Special:BlockList/{{BASEPAGENAMEE}}|check]]'''
|
||||
|
||||
---tokens---
|
||||
'[[' Punctuation
|
||||
'a' Name.Tag
|
||||
'|' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'b' Text
|
||||
"''" Generic.Emph
|
||||
'b' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
'\n' Text
|
||||
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'维基百科' Name.Namespace
|
||||
':' Punctuation
|
||||
'关于' Name.Tag
|
||||
'|' Punctuation
|
||||
'关于' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Edge case' Name.Tag
|
||||
'#' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Edge case' Name.Tag
|
||||
'#' Punctuation
|
||||
'|' Punctuation
|
||||
'another' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
' pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'https' Text
|
||||
':' Text
|
||||
'/' Text
|
||||
'/' Text
|
||||
'www' Text
|
||||
'.' Text
|
||||
'example' Text
|
||||
'.' Text
|
||||
'com' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'this' Text
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'legal' Text
|
||||
'!' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
' ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'this' Text
|
||||
' ' Text
|
||||
'is' Text
|
||||
' ' Text
|
||||
'illegal' Text
|
||||
'!' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'public transport' Name.Tag
|
||||
'#' Punctuation
|
||||
'sth' Name.Label
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
':' Punctuation
|
||||
'public transport' Name.Tag
|
||||
'#' Punctuation
|
||||
'sth' Name.Label
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
':' Punctuation
|
||||
'public transport' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'a' Name.Namespace
|
||||
':' Punctuation
|
||||
'public transport' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'a' Name.Namespace
|
||||
':' Punctuation
|
||||
'public transport' Name.Tag
|
||||
'#' Punctuation
|
||||
'sth' Name.Label
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'a' Name.Namespace
|
||||
':' Punctuation
|
||||
'public transport' Name.Tag
|
||||
'#' Punctuation
|
||||
'sth' Name.Label
|
||||
'|' Punctuation
|
||||
'<' Punctuation
|
||||
'code' Name.Tag
|
||||
'>' Punctuation
|
||||
'a' Text
|
||||
'</' Punctuation
|
||||
'code' Name.Tag
|
||||
'>' Punctuation
|
||||
' ' Text
|
||||
'b' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'c' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
"'''" Generic.Strong
|
||||
'd' Generic.Strong
|
||||
"'''" Generic.Strong
|
||||
' ' Text
|
||||
'~~~~' Keyword
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
'>' Punctuation
|
||||
'[' Text
|
||||
'[' Text
|
||||
'a' Text
|
||||
']' Text
|
||||
']' Text
|
||||
'</' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
'>' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'London' Text
|
||||
' ' Text
|
||||
'has' Text
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'public transport' Name.Tag
|
||||
']]' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'Link' Text
|
||||
' ' Text
|
||||
'to' Text
|
||||
' ' Text
|
||||
'this' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
':' Text
|
||||
' ' Text
|
||||
'"' Text
|
||||
'[[' Punctuation
|
||||
'Help' Name.Namespace
|
||||
':' Punctuation
|
||||
'Wikitext' Name.Tag
|
||||
']]' Punctuation
|
||||
'"' Text
|
||||
' ' Text
|
||||
'will' Text
|
||||
' ' Text
|
||||
'appear' Text
|
||||
' ' Text
|
||||
'only' Text
|
||||
' ' Text
|
||||
'as' Text
|
||||
' ' Text
|
||||
'bold' Text
|
||||
' ' Text
|
||||
'text' Text
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'New' Text
|
||||
' ' Text
|
||||
'York' Text
|
||||
' ' Text
|
||||
'also' Text
|
||||
' ' Text
|
||||
'has' Text
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
'public transport' Name.Tag
|
||||
'|' Punctuation
|
||||
'public' Text
|
||||
' ' Text
|
||||
'transportation' Text
|
||||
']]' Punctuation
|
||||
'.' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'kingdom (biology)' Name.Tag
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Seattle, Washington' Name.Tag
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Wikipedia' Name.Namespace
|
||||
':' Punctuation
|
||||
'Manual of Style' Name.Tag
|
||||
'#' Punctuation
|
||||
'Links' Name.Label
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
':Category' Name.Namespace
|
||||
':' Punctuation
|
||||
'Character sets' Name.Tag
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'commons:category' Name.Namespace
|
||||
':' Punctuation
|
||||
'Wikimedia' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Wiktionary:fr' Name.Namespace
|
||||
':' Punctuation
|
||||
'bonjour' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Wiktionary:fr' Name.Namespace
|
||||
':' Punctuation
|
||||
'bonjour' Name.Tag
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Wiktionary:fr' Name.Namespace
|
||||
':' Punctuation
|
||||
'bonjour' Name.Tag
|
||||
'|' Punctuation
|
||||
'bonjour' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
'' Punctuation
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
' ' Text
|
||||
'[' Text
|
||||
'[' Text
|
||||
' ' Text
|
||||
'wp' Text
|
||||
':' Text
|
||||
'pagename' Text
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
' ' Text
|
||||
'|' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
']' Text
|
||||
' ' Text
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'nam' Text
|
||||
'' Punctuation
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
'e' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
']' Text
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'/>' Punctuation
|
||||
'[' Text
|
||||
' ' Text
|
||||
'wp' Text
|
||||
':' Text
|
||||
'pagename' Text
|
||||
' ' Text
|
||||
'|' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Text
|
||||
'[' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'/>' Punctuation
|
||||
' ' Text
|
||||
'wp' Text
|
||||
':' Text
|
||||
'pagename' Text
|
||||
' ' Text
|
||||
'|' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[' Text
|
||||
'[' Text
|
||||
' ' Text
|
||||
'wp' Text
|
||||
':' Text
|
||||
'pagename' Text
|
||||
' ' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'/>' Punctuation
|
||||
'|' Text
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
' wp' Name.Namespace
|
||||
':' Punctuation
|
||||
'pagename ' Name.Tag
|
||||
'|' Punctuation
|
||||
' ' Text
|
||||
'page' Text
|
||||
' ' Text
|
||||
'name' Text
|
||||
' ' Text
|
||||
']' Text
|
||||
'<' Punctuation
|
||||
'nowiki' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'/>' Punctuation
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'' Punctuation
|
||||
'[[' Punctuation
|
||||
'a' Name.Tag
|
||||
'|' Punctuation
|
||||
']]' Punctuation
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'foo' Name.Tag
|
||||
'|' Punctuation
|
||||
'[' Punctuation
|
||||
'https://example.com' Name.Label
|
||||
']' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'a' Name.Tag
|
||||
'|' Punctuation
|
||||
'' Punctuation
|
||||
'[[' Punctuation
|
||||
']]' Punctuation
|
||||
']' Text
|
||||
']' Text
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Hindenburg disaster' Name.Tag
|
||||
'|' Punctuation
|
||||
"''" Generic.Emph
|
||||
'Hindenburg' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
' ' Text
|
||||
'disaster' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'Diff/330349143/330350877' Name.Tag
|
||||
'|' Punctuation
|
||||
'Diff' Text
|
||||
' ' Text
|
||||
'between' Text
|
||||
' ' Text
|
||||
'revisions' Text
|
||||
' ' Text
|
||||
'330349143' Text
|
||||
' ' Text
|
||||
'and' Text
|
||||
' ' Text
|
||||
'330350877' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'Diff/330350877' Name.Tag
|
||||
'|' Punctuation
|
||||
'Diff' Text
|
||||
' ' Text
|
||||
'between' Text
|
||||
' ' Text
|
||||
'revisions' Text
|
||||
' ' Text
|
||||
'330349143' Text
|
||||
' ' Text
|
||||
'and' Text
|
||||
' ' Text
|
||||
'330350877' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'Permalink/330350877' Name.Tag
|
||||
'|' Punctuation
|
||||
'Revision' Text
|
||||
' ' Text
|
||||
'330350877' Text
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'Contributions/2001:0db8:0000:0000:0000:ff00:0042:8329' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'Contributions/UserName' Name.Tag
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'File' Name.Namespace
|
||||
':' Punctuation
|
||||
'wiki.png' Name.Tag
|
||||
'|' Punctuation
|
||||
'thumb' Text
|
||||
'|' Punctuation
|
||||
'left' Text
|
||||
'|' Punctuation
|
||||
'alt' Name.Attribute
|
||||
'=' Operator
|
||||
'{{' Punctuation
|
||||
'User' Name.Tag
|
||||
' ' Name.Tag
|
||||
'sandbox' Name.Tag
|
||||
' ' Name.Tag
|
||||
'notice' Name.Tag
|
||||
'}}' Punctuation
|
||||
'|' Punctuation
|
||||
'Wikipedia' Text
|
||||
' ' Text
|
||||
"''" Generic.Emph
|
||||
'logo' Generic.Emph
|
||||
"''" Generic.Emph
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'[[' Punctuation
|
||||
'A' Name.Tag
|
||||
'|' Punctuation
|
||||
'[' Punctuation
|
||||
'//example.com' Name.Label
|
||||
' ' Text.Whitespace
|
||||
'a' Text
|
||||
' ' Text
|
||||
'b' Text
|
||||
' ' Text
|
||||
'c' Text
|
||||
']' Punctuation
|
||||
']]' Punctuation
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
"'''" Generic.Strong
|
||||
'[[' Punctuation
|
||||
'Special' Name.Namespace
|
||||
':' Punctuation
|
||||
'BlockList/' Name.Tag
|
||||
'{{' Punctuation
|
||||
'BASEPAGENAMEE' Name.Function
|
||||
'}}' Punctuation
|
||||
'|' Punctuation
|
||||
'check' Text
|
||||
']]' Punctuation
|
||||
"'''" Generic.Strong
|
||||
'\n' Text
|
Reference in New Issue
Block a user