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,15 @@
$ git add file.txt
foo@foobar ~ $ git diff --cached
$ git log -p -i
----------------------------------------------------
[
["command", ["$ git add file.txt"]],
["command", ["foo@foobar ~ $ git diff", ["parameter", " --cached"]]],
["command", ["$ git log", ["parameter", " -p"], ["parameter", " -i"]]]
]
----------------------------------------------------
Checks for git commands, with and without parameters.

View File

@ -0,0 +1,17 @@
# On branch gh-pages
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
----------------------------------------------------
[
["comment", "# On branch gh-pages"],
["comment", "# Changes to be committed:"],
["comment", "# (use \"git reset HEAD <file>...\" to unstage)"],
["comment", "#"]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,15 @@
commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09
commit 87edc4ad8c71b95f6e46f736eb98b742859abd95
commit 3102416a90c431400d2e2a14e707fb7fd6d9e06d
----------------------------------------------------
[
["commit_sha1", "commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09"],
["commit_sha1", "commit 87edc4ad8c71b95f6e46f736eb98b742859abd95"],
["commit_sha1", "commit 3102416a90c431400d2e2a14e707fb7fd6d9e06d"]
]
----------------------------------------------------
Checks for commit SHA1.

View File

@ -0,0 +1,13 @@
@@ -1 +1,2 @@
@@@ -98,20 -98,12 +98,20 @@@
----------------------------------------------------
[
["coord", "@@ -1 +1,2 @@"],
["coord", "@@@ -98,20 -98,12 +98,20 @@@"]
]
----------------------------------------------------
Checks for coords.

View File

@ -0,0 +1,31 @@
-Here's my tetx file
+Here's my text file
+And this is the second line
a/web/js/lazy.js
+++ b/web/js/lazy.js
- if (url !== null && url !== '' && typeof url !== 'undefined') {
+ if (url === null || url === '' || typeof url === 'undefined') {
+ return;
+ }
+
----------------------------------------------------
[
["deleted", "-Here's my tetx file"],
["inserted", "+Here's my text file"],
["inserted", "+And this is the second line"],
["deleted", " a/web/js/lazy.js"],
["inserted", "+++ b/web/js/lazy.js"],
["deleted", "- if (url !== null && url !== '' && typeof url !== 'undefined') {"],
["inserted", "+ if (url === null || url === '' || typeof url === 'undefined') {"],
["inserted", "+ return;"],
["inserted", "+ }"],
["inserted", "+"]
]
----------------------------------------------------
Checks for inserted and deleted lines in git diff output.

View File

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