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,13 @@
@
System
----------------------------------------------------
[
["builtin", "@"],
["builtin", "System"]
]
----------------------------------------------------
Checks for builtins.

View File

@ -0,0 +1,14 @@
`a
`b
`Z
----------------------------------------------------
[
["character", "`a"],
["character", "`b"],
["character", "`Z"]
]
----------------------------------------------------
Checks for characters.

View File

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

View File

@ -0,0 +1,23 @@
2015-08-30
1970-01-01
17:43:21
00:00:00
2015-08-30T17:43:21
1970-01-01T00:00:00
----------------------------------------------------
[
["date", "2015-08-30"],
["date", "1970-01-01"],
["time", "17:43:21"],
["time", "00:00:00"],
["datetime", "2015-08-30T17:43:21"],
["datetime", "1970-01-01T00:00:00"]
]
----------------------------------------------------
Checks for dates, times and datetimes.

View File

@ -0,0 +1,21 @@
=> ->
class if else
switch case
return exit
try catch
finally raise
----------------------------------------------------
[
["keyword", "=>"], ["keyword", "->"],
["keyword", "class"], ["keyword", "if"], ["keyword", "else"],
["keyword", "switch"], ["keyword", "case"],
["keyword", "return"], ["keyword", "exit"],
["keyword", "try"], ["keyword", "catch"],
["keyword", "finally"], ["keyword", "raise"]
]
----------------------------------------------------
Checks for keywords.

View File

@ -0,0 +1,21 @@
42
3.14159
+18
+0.14
-242
-85.21
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "+18"],
["number", "+0.14"],
["number", "-242"],
["number", "-85.21"]
]
----------------------------------------------------
Checks for numbers.

View File

@ -0,0 +1,13 @@
foo
foo_bar
----------------------------------------------------
[
["reference", "foo"],
["reference", "foo_bar"]
]
----------------------------------------------------
Checks for reference.

View File

@ -0,0 +1,17 @@
/foobar/
/fo[o](?=bar)/
/\/\\\[\]/
/(fo|o?)+b*ar?/
----------------------------------------------------
[
["regex", "/foobar/"],
["regex", "/fo[o](?=bar)/"],
["regex", "/\\/\\\\\\[\\]/"],
["regex", "/(fo|o?)+b*ar?/"]
]
----------------------------------------------------
Checks for regexes.

View File

@ -0,0 +1,17 @@
""
"fo\"obar"
''
'fo\'obar'
----------------------------------------------------
[
["string", "\"\""],
["string", "\"fo\\\"obar\""],
["string", "''"],
["string", "'fo\\'obar'"]
]
----------------------------------------------------
Checks for single-quoted and double-quoted strings.

View File

@ -0,0 +1,15 @@
:foo
:foobar42
:foo_bar
----------------------------------------------------
[
["symbol", ":foo"],
["symbol", ":foobar42"],
["symbol", ":foo_bar"]
]
----------------------------------------------------
Checks for symbols.