use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,13 @@
*
* Foobar
----------------------------------------------------
[
["comment", "*"],
["comment", "* Foobar"]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,13 @@
"
" foobar
----------------------------------------------------
[
["eol-comment", "\""],
["eol-comment", "\" foobar"]
]
----------------------------------------------------
Checks for EOL comments.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
0
42
123456789
----------------------------------------------------
[
["number", "0"],
["number", "42"],
["number", "123456789"]
]
----------------------------------------------------
Checks for numbers.

View File

@ -0,0 +1,38 @@
.
+ -
/ * **
< > <= >=
= ?= <>
& &&
a-b
a~b
a->b
a=>b
a|b
a{b}c
----------------------------------------------------
[
["punctuation", "."],
["operator", "+"], ["operator", "-"],
["operator", "/"], ["operator", "*"], ["operator", "**"],
["operator", "<"], ["operator", ">"], ["operator", "<="], ["operator", ">="],
["operator", "="], ["operator", "?="], ["operator", "<>"],
["string-operator", "&"], ["string-operator", "&&"],
"\r\n\r\na", ["token-operator", "-"],
"b\r\na", ["token-operator", "~"],
"b\r\na", ["token-operator", "->"],
"b\r\na", ["token-operator", "=>"],
"b\r\na", ["token-operator", "|"],
"b\r\na", ["token-operator", "{"], "b", ["token-operator", "}"], "c"
]
----------------------------------------------------
Checks for operators, string-operators and token-operators.
The leading dot serves only because tests are trimmed.

View File

@ -0,0 +1,17 @@
|foobar|
|foo\|b\{a}r|
|foo { bar } baz|
----------------------------------------------------
[
["token-operator", "|"], ["string-template", "foobar"], ["token-operator", "|"],
["token-operator", "|"], ["string-template", "foo\\|b\\{a}r"], ["token-operator", "|"],
["token-operator", "|"], ["string-template", "foo "], ["token-operator", "{"],
" bar ",
["token-operator", "}"], ["string-template", " baz"], ["token-operator", "|"]
]
----------------------------------------------------
Checks for string templates.

View File

@ -0,0 +1,21 @@
''
'foo'
'foo\'bar'
``
`foo`
`foo\`bar`
----------------------------------------------------
[
["string", "''"],
["string", "'foo'"],
["string", "'foo\\'bar'"],
["string", "``"],
["string", "`foo`"],
["string", "`foo\\`bar`"]
]
----------------------------------------------------
Checks for strings.