mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-06 01:22:23 +00:00
Add support for properties (INI)
This commit is contained in:
parent
60d0f96cd7
commit
228aa4740b
@ -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: 'text/x-ini',
|
||||
javascript: 'javascript',
|
||||
json: {name: 'javascript', json: true},
|
||||
js: 'javascript',
|
||||
@ -54,6 +56,7 @@ const modeMap = {
|
||||
ml: 'mllike',
|
||||
nginx: 'nginx',
|
||||
powershell: 'powershell',
|
||||
properties: 'text/x-properties',
|
||||
ocaml: 'mllike',
|
||||
php: 'php',
|
||||
py: 'python',
|
||||
|
Loading…
Reference in New Issue
Block a user