unch-cms/public/argon/vendor/prismjs/components/prism-git.min.js

1 line
234 B
JavaScript
Raw Normal View History

2022-09-02 11:25:50 +07: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};