CS-Notes/docs/_style/prism-master/components/prism-diff.min.js
2018-12-19 14:09:39 +08:00

1 line
170 B
JavaScript

Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}};