use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
*
|
||||
* Foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "*"],
|
||||
["comment", "* Foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,13 @@
|
||||
"
|
||||
" foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["eol-comment", "\""],
|
||||
["eol-comment", "\" foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for EOL comments.
|
1801
docs/_style/prism-master/tests/languages/abap/keyword_feature.test
Normal file
1801
docs/_style/prism-master/tests/languages/abap/keyword_feature.test
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
||||
0
|
||||
42
|
||||
123456789
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "0"],
|
||||
["number", "42"],
|
||||
["number", "123456789"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for numbers.
|
@ -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.
|
@ -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.
|
@ -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.
|
Reference in New Issue
Block a user