mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-23 18:48:37 +03:00
@@ -33,6 +33,7 @@ const modeMap = {
|
||||
'f#': () => legacyLoad('fSharp'),
|
||||
fsharp: () => legacyLoad('fSharp'),
|
||||
go: () => legacyLoad('go'),
|
||||
groovy: () => legacyLoad('groovy'),
|
||||
haskell: () => legacyLoad('haskell'),
|
||||
hs: () => legacyLoad('haskell'),
|
||||
html: async () => html({selfClosingTags: true}),
|
||||
|
@@ -5,6 +5,8 @@ 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';
|
||||
export {groovy} from '@codemirror/legacy-modes/mode/groovy';
|
||||
export {haxe} from '@codemirror/legacy-modes/mode/haxe';
|
||||
export {haskell} from '@codemirror/legacy-modes/mode/haskell';
|
||||
export {julia} from '@codemirror/legacy-modes/mode/julia';
|
||||
export {lua} from '@codemirror/legacy-modes/mode/lua';
|
||||
|
@@ -23,7 +23,7 @@
|
||||
<div refs="code-editor@language-options-container" class="lang-options">
|
||||
@php
|
||||
$languages = [
|
||||
'Bash', 'CSS', 'C', 'C++', 'C#', 'Clojure', 'Dart', 'Diff', 'Fortran', 'F#', 'Go', 'Haskell', 'HTML', 'INI',
|
||||
'Bash', 'CSS', 'C', 'C++', 'C#', 'Clojure', 'Dart', 'Diff', 'Fortran', 'F#', 'Go', 'Groovy', 'Haskell', 'HTML', 'INI',
|
||||
'Java', 'JavaScript', 'JSON', 'Julia', 'Kotlin', 'LaTeX', 'Lua', 'MarkDown', 'MATLAB', 'MSSQL', 'MySQL',
|
||||
'Nginx', 'OCaml', 'Octave', 'Pascal', 'Perl', 'PHP', 'PL/SQL', 'PostgreSQL', 'Powershell', 'Python',
|
||||
'R', 'Ruby', 'Rust', 'SAS', 'Scala', 'Scheme', 'Shell', 'Smarty', 'SQL', 'SQLite', 'Swift',
|
||||
|
Reference in New Issue
Block a user