use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
true
|
||||
false
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "true"],
|
||||
["boolean", "false"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
@ -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.
|
@ -0,0 +1,11 @@
|
||||
null
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["null", "null"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for null.
|
@ -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.
|
@ -0,0 +1,11 @@
|
||||
:
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", ":"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators.
|
@ -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.
|
@ -0,0 +1,20 @@
|
||||
{}
|
||||
{ }
|
||||
[]
|
||||
],
|
||||
},
|
||||
,
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["punctuation", "{"], ["punctuation", "}"],
|
||||
["punctuation", "{"], ["punctuation", "}"],
|
||||
["punctuation", "["], ["punctuation", "]"],
|
||||
["punctuation", "]"], ["punctuation", ","],
|
||||
["punctuation", "}"], ["punctuation", ","],
|
||||
["punctuation", ","]
|
||||
]
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for punctuation.
|
@ -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.
|
Reference in New Issue
Block a user