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/markdown/markdown';
|
||||||
import 'codemirror/mode/mllike/mllike';
|
import 'codemirror/mode/mllike/mllike';
|
||||||
import 'codemirror/mode/nginx/nginx';
|
import 'codemirror/mode/nginx/nginx';
|
||||||
|
import 'codemirror/mode/perl/perl';
|
||||||
import 'codemirror/mode/pascal/pascal';
|
import 'codemirror/mode/pascal/pascal';
|
||||||
import 'codemirror/mode/php/php';
|
import 'codemirror/mode/php/php';
|
||||||
import 'codemirror/mode/powershell/powershell';
|
import 'codemirror/mode/powershell/powershell';
|
||||||
@ -62,6 +63,8 @@ const modeMap = {
|
|||||||
markdown: 'markdown',
|
markdown: 'markdown',
|
||||||
ml: 'mllike',
|
ml: 'mllike',
|
||||||
nginx: 'nginx',
|
nginx: 'nginx',
|
||||||
|
perl: 'perl',
|
||||||
|
pl: 'perl',
|
||||||
powershell: 'powershell',
|
powershell: 'powershell',
|
||||||
properties: 'properties',
|
properties: 'properties',
|
||||||
ocaml: 'mllike',
|
ocaml: 'mllike',
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
<a @click="updateLanguage('MarkDown')">MarkDown</a>
|
<a @click="updateLanguage('MarkDown')">MarkDown</a>
|
||||||
<a @click="updateLanguage('Nginx')">Nginx</a>
|
<a @click="updateLanguage('Nginx')">Nginx</a>
|
||||||
<a @click="updateLanguage('PASCAL')">Pascal</a>
|
<a @click="updateLanguage('PASCAL')">Pascal</a>
|
||||||
|
<a @click="updateLanguage('Perl')">Perl</a>
|
||||||
<a @click="updateLanguage('PHP')">PHP</a>
|
<a @click="updateLanguage('PHP')">PHP</a>
|
||||||
<a @click="updateLanguage('Powershell')">Powershell</a>
|
<a @click="updateLanguage('Powershell')">Powershell</a>
|
||||||
<a @click="updateLanguage('Python')">Python</a>
|
<a @click="updateLanguage('Python')">Python</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user