mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-18 06:11:03 +00:00
Added MATLAB/Octave code highlighting support
This commit is contained in:
parent
af11e7dd54
commit
391fb2cc62
2 changed files with 5 additions and 2 deletions
resources/js
|
@ -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/octave/octave';
|
||||
import 'codemirror/mode/perl/perl';
|
||||
import 'codemirror/mode/pascal/pascal';
|
||||
import 'codemirror/mode/php/php';
|
||||
|
@ -65,11 +66,13 @@ const modeMap = {
|
|||
julia: 'text/x-julia',
|
||||
latex: 'text/x-stex',
|
||||
lua: 'lua',
|
||||
matlab: 'text/x-octave',
|
||||
md: 'markdown',
|
||||
mdown: 'markdown',
|
||||
markdown: 'markdown',
|
||||
ml: 'mllike',
|
||||
nginx: 'nginx',
|
||||
octave: 'text/x-octave',
|
||||
perl: 'perl',
|
||||
pl: 'perl',
|
||||
powershell: 'powershell',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue