diff --git a/resources/js/services/code.js b/resources/js/services/code.js
index 8e517dde4..26dee5bfb 100644
--- a/resources/js/services/code.js
+++ b/resources/js/services/code.js
@@ -25,7 +25,7 @@ import 'codemirror/mode/sql/sql';
import 'codemirror/mode/toml/toml';
import 'codemirror/mode/xml/xml';
import 'codemirror/mode/yaml/yaml';
-import 'codemirror/mode/pascal/pascal'
+import 'codemirror/mode/pascal/pascal';
// Addons
import 'codemirror/addon/scroll/scrollpastend';
@@ -62,6 +62,8 @@ const modeMap = {
powershell: 'powershell',
properties: 'properties',
ocaml: 'mllike',
+ pascal: 'text/x-pascal',
+ pas: 'text/x-pascal',
php: (content) => {
return content.includes('JavaScript
JSON
Lua
- PHP
- Powershell
MarkDown
Nginx
+ Pascal
+ PHP
+ Powershell
Python
Ruby
Shell/Bash
SQL
XML
YAML
- Pascal