Sha256: 3c45704fa41664a6b1bd09b7b3b131e336fca4a1dcb9a4fb87021c349f505dc5
Contents?: true
Size: 610 Bytes
Versions: 5
Compression:
Stored size: 610 Bytes
Contents
/*! `diff` grammar compiled for Highlight.js 11.6.0 */ var hljsGrammar=(()=>{"use strict";return e=>{const a=e.regex;return{ name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10, match:a.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/) },{className:"comment",variants:[{ begin:a.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/), end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{ className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/, end:/$/}]}}})();export default hljsGrammar;
Version data entries
5 entries across 5 versions & 1 rubygems