added site files

This commit is contained in:
gribse 2025-05-16 18:49:08 +02:00
parent a6f70a6c78
commit 329148c253
253 changed files with 30486 additions and 0 deletions

View file

@ -0,0 +1,46 @@
/*
---
description: DIFF Highlighting
license: MIT-style
authors:
- Andi Dittrich
requires:
- Core/1.4.5
provides: [EnlighterJS.Language.diff]
...
*/
EJS.Language.diff = new Class({
Extends : EJS.Language.generic,
setupLanguage: function(){
this.keywords = {
};
this.patterns = {
'comments' : {
pattern : /^((---|\+\+\+) .*)/gm,
alias : 'co1'
},
'stats' : {
pattern : /^(@@.*@@\s*)/gm,
alias : 'nu0'
},
'add' : {
pattern : /^(\+.*)/gm,
alias : 're0'
},
'del' : {
pattern : /^(-.*)/gm,
alias : 'st0'
}
};
}
});