mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
parent
de6d8a811c
commit
d5d83da766
@ -1,5 +1,6 @@
|
|||||||
require('codemirror/mode/css/css');
|
require('codemirror/mode/css/css');
|
||||||
require('codemirror/mode/clike/clike');
|
require('codemirror/mode/clike/clike');
|
||||||
|
require('codemirror/mode/diff/diff');
|
||||||
require('codemirror/mode/go/go');
|
require('codemirror/mode/go/go');
|
||||||
require('codemirror/mode/htmlmixed/htmlmixed');
|
require('codemirror/mode/htmlmixed/htmlmixed');
|
||||||
require('codemirror/mode/javascript/javascript');
|
require('codemirror/mode/javascript/javascript');
|
||||||
@ -26,6 +27,7 @@ const modeMap = {
|
|||||||
'c++': 'clike',
|
'c++': 'clike',
|
||||||
'c#': 'clike',
|
'c#': 'clike',
|
||||||
csharp: 'clike',
|
csharp: 'clike',
|
||||||
|
diff: 'diff',
|
||||||
go: 'go',
|
go: 'go',
|
||||||
html: 'htmlmixed',
|
html: 'htmlmixed',
|
||||||
javascript: 'javascript',
|
javascript: 'javascript',
|
||||||
@ -42,6 +44,7 @@ const modeMap = {
|
|||||||
ruby: 'ruby',
|
ruby: 'ruby',
|
||||||
rb: 'ruby',
|
rb: 'ruby',
|
||||||
shell: 'shell',
|
shell: 'shell',
|
||||||
|
sh: 'shell',
|
||||||
bash: 'shell',
|
bash: 'shell',
|
||||||
toml: 'toml',
|
toml: 'toml',
|
||||||
sql: 'sql',
|
sql: 'sql',
|
||||||
|
Loading…
Reference in New Issue
Block a user