add _really_ basic multilanguage support. I'll come back for css later
This commit is contained in:
13
www/code/modes.js
Normal file
13
www/code/modes.js
Normal file
@@ -0,0 +1,13 @@
|
||||
define(function () {
|
||||
return [
|
||||
"Javascript javascript",
|
||||
"Python python",
|
||||
"Mixed_HTML htmlmixed",
|
||||
].map(function (line) {
|
||||
var kv = line.split(/\s/);
|
||||
return {
|
||||
language: kv[0].replace(/_/g, ' '),
|
||||
mode: kv[1]
|
||||
};
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user