0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-14 04:32:21 +00:00

Added clojure code language option

For 
This commit is contained in:
Dan Brown 2023-04-23 14:16:31 +01:00
parent a46b438a4c
commit fa6fcc1c1c
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
3 changed files with 4 additions and 1 deletions

View file

@ -23,6 +23,8 @@ const modeMap = {
css: async () => css(),
'c++': () => legacyLoad('cpp'),
'c#': () => legacyLoad('csharp'),
clj: () => legacyLoad('clojure'),
clojure: () => legacyLoad('clojure'),
csharp: () => legacyLoad('csharp'),
dart: () => legacyLoad('dart'),
diff: () => legacyLoad('diff'),

View file

@ -1,6 +1,7 @@
export {
c, cpp, csharp, java, kotlin, scala, dart,
} from '@codemirror/legacy-modes/mode/clike';
export {clojure} from '@codemirror/legacy-modes/mode/clojure';
export {diff} from '@codemirror/legacy-modes/mode/diff';
export {fortran} from '@codemirror/legacy-modes/mode/fortran';
export {go} from '@codemirror/legacy-modes/mode/go';