use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
/**/
|
||||
/* foo */
|
||||
/* foo
|
||||
bar */
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["block-comment", "/**/"],
|
||||
["block-comment", "/* foo */"],
|
||||
["block-comment", "/* foo\r\nbar */"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,27 @@
|
||||
'''''foo'''''
|
||||
'''bar'''
|
||||
''baz''
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["emphasis", [
|
||||
["punctuation", "'''''"],
|
||||
["bold italic", "foo"],
|
||||
["punctuation", "'''''"]
|
||||
]],
|
||||
["emphasis", [
|
||||
["punctuation", "'''"],
|
||||
["bold", "bar"],
|
||||
["punctuation", "'''"]
|
||||
]],
|
||||
["emphasis", [
|
||||
["punctuation", "''"],
|
||||
["italic", "baz"],
|
||||
["punctuation", "''"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for bold and italic.
|
@ -0,0 +1,33 @@
|
||||
= Header 1 =
|
||||
== Header 2 ==
|
||||
=== Header 3 ===
|
||||
==== Header 4 ====
|
||||
===== Header 5 =====
|
||||
====== Header 6 ======
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["heading", [
|
||||
["punctuation", "="], ["important", " Header 1 "], ["punctuation", "="]
|
||||
]],
|
||||
["heading", [
|
||||
["punctuation", "=="], ["important", " Header 2 "], ["punctuation", "=="]
|
||||
]],
|
||||
["heading", [
|
||||
["punctuation", "==="], ["important", " Header 3 "], ["punctuation", "==="]
|
||||
]],
|
||||
["heading", [
|
||||
["punctuation", "===="], ["important", " Header 4 "], ["punctuation", "===="]
|
||||
]],
|
||||
["heading", [
|
||||
["punctuation", "====="], ["important", " Header 5 "], ["punctuation", "====="]
|
||||
]],
|
||||
["heading", [
|
||||
["punctuation", "======"], ["important", " Header 6 "], ["punctuation", "======"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for titles.
|
@ -0,0 +1,13 @@
|
||||
----
|
||||
-----
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["hr", "----"],
|
||||
["hr", "-----"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for horizontal rows.
|
@ -0,0 +1,63 @@
|
||||
<nowiki>{{foo}} ''bar'' <baz></nowiki>
|
||||
<source>{{foo}} ''bar'' <baz></source>
|
||||
<pre>{{foo}} ''bar'' <baz></pre>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["nowiki", [
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"nowiki"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"{{foo}} ''bar'' <baz>",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"nowiki"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]],
|
||||
["nowiki", [
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"source"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"{{foo}} ''bar'' <baz>",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"source"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]],
|
||||
["nowiki", [
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"pre"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"{{foo}} ''bar'' <baz>",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"pre"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks that no highlighting is done inside <nowiki>, <pre> and <source> tags.
|
@ -0,0 +1,17 @@
|
||||
#REDIRECT [[somewhere]]
|
||||
~~~
|
||||
~~~~
|
||||
~~~~~
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["symbol", "#REDIRECT"], ["url", "[[somewhere]]"],
|
||||
["symbol", "~~~"],
|
||||
["symbol", "~~~~"],
|
||||
["symbol", "~~~~~"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for redirects and signatures.
|
@ -0,0 +1,29 @@
|
||||
[[w:en:Formal_grammar|Formal grammar]]
|
||||
[http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html EBNF help]
|
||||
|
||||
ISBN 1234567890
|
||||
ISBN 123456789x
|
||||
ISBN 1 2 3-4-5 6789 X
|
||||
ISBN 978-9999999999
|
||||
|
||||
RFC 822
|
||||
PMID 822
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["url", "[[w:en:Formal_grammar|Formal grammar]]"],
|
||||
["url", "[http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html EBNF help]"],
|
||||
|
||||
["url", "ISBN 1234567890"],
|
||||
["url", "ISBN 123456789x"],
|
||||
["url", "ISBN 1 2 3-4-5 6789 X"],
|
||||
["url", "ISBN 978-9999999999"],
|
||||
|
||||
["url", "RFC 822"],
|
||||
["url", "PMID 822"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for links, ISBN, RFC and PMID.
|
@ -0,0 +1,19 @@
|
||||
__NOTOC__
|
||||
{{{1}}}
|
||||
{{!}}
|
||||
{{SITENAME}}
|
||||
{{#ifexists:foo}}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["variable", "__NOTOC__"],
|
||||
["variable", "{{{1}}}"],
|
||||
["variable", "{{!}}"],
|
||||
["variable", "{{SITENAME}}"],
|
||||
["variable", "{{#ifexists:foo}}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for variables and magic words.
|
Reference in New Issue
Block a user