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,16 @@
`ls -selection`
----------------------------------------------------
[
["code", [
["delimiter", "`"],
["function", "ls"],
["flag", "-selection"],
["delimiter", "`"]
]]
]
----------------------------------------------------
Checks for code.

View File

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

View File

@ -0,0 +1,15 @@
-d
-foo
-foo42
----------------------------------------------------
[
["flag", "-d"],
["flag", "-foo"],
["flag", "-foo42"]
]
----------------------------------------------------
Checks for flags.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,47 @@
break
case
continue
default
do
else
float
for
global
if
in
int
matrix
proc
return
string
switch
vector
while
----------------------------------------------------
[
["keyword", "break"],
["keyword", "case"],
["keyword", "continue"],
["keyword", "default"],
["keyword", "do"],
["keyword", "else"],
["keyword", "float"],
["keyword", "for"],
["keyword", "global"],
["keyword", "if"],
["keyword", "in"],
["keyword", "int"],
["keyword", "matrix"],
["keyword", "proc"],
["keyword", "return"],
["keyword", "string"],
["keyword", "switch"],
["keyword", "vector"],
["keyword", "while"]
]
----------------------------------------------------
Checks for keywords.

View File

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

View File

@ -0,0 +1,33 @@
+ ++ +=
- -- -=
* *=
/ /=
! !=
= ==
&&
||
< <=
> >=
%
^
----------------------------------------------------
[
["operator", "+"], ["operator", "++"], ["operator", "+="],
["operator", "-"], ["operator", "--"], ["operator", "-="],
["operator", "*"], ["operator", "*="],
["operator", "/"], ["operator", "/="],
["operator", "!"], ["operator", "!="],
["operator", "="], ["operator", "=="],
["operator", "&&"],
["operator", "||"],
["operator", "<"], ["operator", "<="],
["operator", ">"], ["operator", ">="],
["operator", "%"],
["operator", "^"]
]
----------------------------------------------------
Checks for operators.

View File

@ -0,0 +1,13 @@
""
"fo\"obar"
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""]
]
----------------------------------------------------
Checks for strings.

View File

@ -0,0 +1,15 @@
$x
$foo42
$Foo_Bar_42
----------------------------------------------------
[
["variable", "$x"],
["variable", "$foo42"],
["variable", "$Foo_Bar_42"]
]
----------------------------------------------------
Checks for variables.