Sign in
apache
/
hugegraph-doc
/
refs/heads/master-before-apache
/
.
/
node_modules
/
prismjs
/
components
/
prism-git.min.js
blob: e4b5da4796b934cd06546d57fe422692a4ce4202 [
file
] [
log
] [
blame
]
Prism
.
languages
.
git
={
comment
:
/^#.*/
m
,
deleted
:
/^[-–].*/
m
,
inserted
:
/^\+.*/
m
,
string
:
/("|')(\\?.)*?\1/
m
,
command
:{
pattern
:
/^.*\$ git .*$/
m
,
inside
:{
parameter
:
/\s(--|-)\w+/
m
}},
coord
:
/^@@.*@@$/
m
,
commit_sha1
:
/^commit \w{40}$/
m
};