Merge branch 'master' of git://github.com/c0shea/BookStack into c0shea-master

This commit is contained in:
Dan Brown 2019-10-17 21:09:05 +01:00
commit 8b4bfa4d78
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 4 additions and 0 deletions

View File

@ -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',

View File

@ -24,6 +24,7 @@
<a @click="updateLanguage('Lua')">Lua</a>
<a @click="updateLanguage('PHP')">PHP</a>
<a @click="updateLanguage('Powershell')">Powershell</a>
<a @click="updateLanguage('Properties')">Properties</a>
<a @click="updateLanguage('MarkDown')">MarkDown</a>
<a @click="updateLanguage('Nginx')">Nginx</a>
<a @click="updateLanguage('Python')">Python</a>