X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b80b6ed942c0eddfc5591b0f6745a990322c8ee2..refs/pull/2334/head:/resources/js/services/code.js diff --git a/resources/js/services/code.js b/resources/js/services/code.js index a7dfa587f..e2aca1aad 100644 --- a/resources/js/services/code.js +++ b/resources/js/services/code.js @@ -26,6 +26,7 @@ import 'codemirror/mode/rust/rust'; import 'codemirror/mode/shell/shell'; import 'codemirror/mode/sql/sql'; import 'codemirror/mode/toml/toml'; +import 'codemirror/mode/vbscript/vbscript'; import 'codemirror/mode/xml/xml'; import 'codemirror/mode/yaml/yaml'; @@ -84,6 +85,8 @@ const modeMap = { bash: 'shell', toml: 'toml', sql: 'text/x-sql', + vbs: 'vbscript', + vbscript: 'vbscript', xml: 'xml', yaml: 'yaml', yml: 'yaml',