diff --git a/resources/js/services/code.js b/resources/js/services/code.js index 0c5f75db3..27413764a 100644 --- a/resources/js/services/code.js +++ b/resources/js/services/code.js @@ -14,6 +14,7 @@ import 'codemirror/mode/haskell/haskell'; import 'codemirror/mode/markdown/markdown'; import 'codemirror/mode/mllike/mllike'; import 'codemirror/mode/nginx/nginx'; +import 'codemirror/mode/perl/perl'; import 'codemirror/mode/php/php'; import 'codemirror/mode/powershell/powershell'; import 'codemirror/mode/properties/properties'; @@ -59,6 +60,8 @@ const modeMap = { markdown: 'markdown', ml: 'mllike', nginx: 'nginx', + perl: 'perl', + pl: 'perl', powershell: 'powershell', properties: 'properties', ocaml: 'mllike', diff --git a/resources/views/components/code-editor.blade.php b/resources/views/components/code-editor.blade.php index 70ffc350f..f6d93f2cd 100644 --- a/resources/views/components/code-editor.blade.php +++ b/resources/views/components/code-editor.blade.php @@ -26,6 +26,7 @@ MarkDown Nginx Pascal + Perl PHP Powershell Python