X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5c7262673abc67571b90b18365202ccbff585897..8b4bfa4d780a3d586d0ad3dc64ff11822a0c3fbf:/resources/js/services/code.js diff --git a/resources/js/services/code.js b/resources/js/services/code.js index eedbda4bb..70355643d 100644 --- a/resources/js/services/code.js +++ b/resources/js/services/code.js @@ -16,6 +16,7 @@ import 'codemirror/mode/mllike/mllike'; import 'codemirror/mode/nginx/nginx'; import 'codemirror/mode/php/php'; import 'codemirror/mode/powershell/powershell'; +import 'codemirror/mode/properties/properties'; import 'codemirror/mode/python/python'; import 'codemirror/mode/ruby/ruby'; import 'codemirror/mode/rust/rust'; @@ -42,6 +43,7 @@ const modeMap = { haskell: 'haskell', hs: 'haskell', html: 'htmlmixed', + ini: 'ini', javascript: 'javascript', json: {name: 'javascript', json: true}, js: 'javascript', @@ -54,6 +56,7 @@ const modeMap = { ml: 'mllike', nginx: 'nginx', powershell: 'powershell', + properties: 'properties', ocaml: 'mllike', php: 'php', py: 'python',