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