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 @@
true
false
----------------------------------------------------
[
["boolean", "true"],
["boolean", "false"]
]
----------------------------------------------------
Checks for booleans.

View File

@ -0,0 +1,27 @@
{
// Line comment
"//": "//",
/* Block comment */
"/*": "*/"
}
----------------------------------------------------
[
["punctuation", "{"],
["comment", "// Line comment"],
["property", "\"//\""],
["operator", ":"],
["string", "\"//\""],
["punctuation", ","],
["comment", "/* Block comment */"],
["property", "\"/*\""],
["operator", ":"],
["string", "\"*/\""],
["punctuation", "}"]
]
----------------------------------------------------
Checks for single-line and multi-line comments.

View File

@ -0,0 +1,11 @@
null
----------------------------------------------------
[
["null", "null"]
]
----------------------------------------------------
Checks for null.

View File

@ -0,0 +1,27 @@
0
123
3.14159
5.0e8
0.2E+2
47e-5
-1.23
-2.34E33
-4.34E-33
----------------------------------------------------
[
["number", "0"],
["number", "123"],
["number", "3.14159"],
["number", "5.0e8"],
["number", "0.2E+2"],
["number", "47e-5"],
["number", "-1.23"],
["number", "-2.34E33"],
["number", "-4.34E-33"]
]
----------------------------------------------------
Checks for numbers.

View File

@ -0,0 +1,11 @@
:
----------------------------------------------------
[
["operator", ":"]
]
----------------------------------------------------
Checks for all operators.

View File

@ -0,0 +1,33 @@
{"foo\"bar\"baz":1,"foo":2}
{
"foo": 1,
"b\"ar": 2
}
----------------------------------------------------
[
["punctuation", "{"],
["property", "\"foo\\\"bar\\\"baz\""],
["operator", ":"],
["number", "1"],
["punctuation", ","],
["property", "\"foo\""],
["operator", ":"],
["number", "2"],
["punctuation", "}"],
["punctuation", "{"],
["property", "\"foo\""],
["operator", ":"],
["number", "1"],
["punctuation", ","],
["property", "\"b\\\"ar\""],
["operator", ":"],
["number", "2"],
["punctuation", "}"]
]
----------------------------------------------------
Checks for features.

View File

@ -0,0 +1,20 @@
{}
{ }
[]
],
},
,
----------------------------------------------------
[
["punctuation", "{"], ["punctuation", "}"],
["punctuation", "{"], ["punctuation", "}"],
["punctuation", "["], ["punctuation", "]"],
["punctuation", "]"], ["punctuation", ","],
["punctuation", "}"], ["punctuation", ","],
["punctuation", ","]
]
----------------------------------------------------
Checks for punctuation.

View File

@ -0,0 +1,27 @@
""
"foo"
"foo\"bar\"baz"
"\u2642\\ "
{"foo":"bar","baz":"\""}
----------------------------------------------------
[
["string", "\"\""],
["string", "\"foo\""],
["string", "\"foo\\\"bar\\\"baz\""],
["string", "\"\\u2642\\\\ \""],
["punctuation", "{"],
["property", "\"foo\""],
["operator", ":"],
["string", "\"bar\""],
["punctuation", ","],
["property", "\"baz\""],
["operator", ":"],
["string", "\"\\\"\""],
["punctuation", "}"]
]
----------------------------------------------------
Checks for strings.