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,41 @@
/*
---
description: RAW Code
license: MIT-style
authors:
- Andi Dittrich
requires:
- Core/1.4.5
provides: [EnlighterJS.Language.raw]
...
*/
EJS.Language.raw = new Class({
Extends: EJS.Language.generic,
initialize: function(code) {
this.code = code;
},
getTokens: function(){
// create token object
var token = (function(text, alias, index){
return {
text: text,
alias: alias,
index: index,
length: text.length,
end: text.length + index
}
});
// raw means "no-highlight" - return a single, unknown token with the given sourcecode
return [
token(this.code, '', 0)
];
}
});