use prism-tomorrow.css
This commit is contained in:
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -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.
|
@ -0,0 +1,17 @@
|
||||
""
|
||||
"foo"
|
||||
''
|
||||
'bar'
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["string", "\"\""],
|
||||
["string", "\"foo\""],
|
||||
["string", "''"],
|
||||
["string", "'bar'"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for double-quoted and single-quoted strings.
|
Reference in New Issue
Block a user