hexo/node_modules/prismjs/components/prism-git.min.js

1 line
234 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
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};