CS-Notes/docs/_style/prism-master/components/prism-git.min.js

1 line
234 B
Java
Raw Normal View History

2018-12-19 14:09:39 +08:00
Prism.languages.git={comment:/^#.*/m,deleted:/^[-].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m};