1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- Prism.languages.git = {
-
- 'comment': /^#.*/m,
-
- 'deleted': /^[-–].*/m,
- 'inserted': /^\+.*/m,
-
- 'string': /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
-
- 'command': {
- pattern: /^.*\$ git .*$/m,
- inside: {
-
- 'parameter': /\s--?\w+/
- }
- },
-
- 'coord': /^@@.*@@$/m,
-
- 'commit-sha1': /^commit \w{40}$/m
- };
|