mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-05 17:12:10 +00:00
Merge branch 'perl_syntax_highlight' of git://github.com/Iyeyasu/BookStack into Iyeyasu-perl_syntax_highlight
This commit is contained in:
commit
56be10f1cd
@ -15,6 +15,7 @@ import 'codemirror/mode/lua/lua';
|
||||
import 'codemirror/mode/markdown/markdown';
|
||||
import 'codemirror/mode/mllike/mllike';
|
||||
import 'codemirror/mode/nginx/nginx';
|
||||
import 'codemirror/mode/perl/perl';
|
||||
import 'codemirror/mode/pascal/pascal';
|
||||
import 'codemirror/mode/php/php';
|
||||
import 'codemirror/mode/powershell/powershell';
|
||||
@ -62,6 +63,8 @@ const modeMap = {
|
||||
markdown: 'markdown',
|
||||
ml: 'mllike',
|
||||
nginx: 'nginx',
|
||||
perl: 'perl',
|
||||
pl: 'perl',
|
||||
powershell: 'powershell',
|
||||
properties: 'properties',
|
||||
ocaml: 'mllike',
|
||||
|
@ -27,6 +27,7 @@
|
||||
<a @click="updateLanguage('MarkDown')">MarkDown</a>
|
||||
<a @click="updateLanguage('Nginx')">Nginx</a>
|
||||
<a @click="updateLanguage('PASCAL')">Pascal</a>
|
||||
<a @click="updateLanguage('Perl')">Perl</a>
|
||||
<a @click="updateLanguage('PHP')">PHP</a>
|
||||
<a @click="updateLanguage('Powershell')">Powershell</a>
|
||||
<a @click="updateLanguage('Python')">Python</a>
|
||||
|
Loading…
Reference in New Issue
Block a user