Sha256: 3e8f387b1b30b6c8b7a1fd731a45017706849f5b2a8f1aa5945a2e4944a458c3
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
Prism.languages.diff = { 'coord': [ // Match all kinds of coord lines (prefixed by "+++", "---" or "***"). /^(?:\*{3}|-{3}|\+{3}).*$/m, // Match "@@ ... @@" coord lines in unified diff. /^@@.*@@$/m, // Match coord lines in normal diff (starts with a number). /^\d+.*$/m ], // Match inserted and deleted lines. Support both +/- and >/< styles. 'deleted': /^[-<].+$/m, 'inserted': /^[+>].+$/m, // Match "different" lines (prefixed with "!") in context diff. 'diff': { 'pattern': /^!(?!!).+$/m, 'alias': 'important' } };
Version data entries
4 entries across 4 versions & 1 rubygems