mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 11:50:27 +08:00
parent
f583354748
commit
8bc6e75319
|
@ -71,10 +71,12 @@ const modeMap = {
|
|||
ocaml: () => legacyLoad('oCaml'),
|
||||
py: () => legacyLoad('python'),
|
||||
python: () => legacyLoad('python'),
|
||||
r: () => legacyLoad('r'),
|
||||
rb: () => legacyLoad('ruby'),
|
||||
rs: () => legacyLoad('rust'),
|
||||
ruby: () => legacyLoad('ruby'),
|
||||
rust: () => legacyLoad('rust'),
|
||||
sas: () => legacyLoad('sas'),
|
||||
scala: () => legacyLoad('scala'),
|
||||
scheme: () => legacyLoad('scheme'),
|
||||
shell: () => legacyLoad('shell'),
|
||||
|
|
|
@ -16,8 +16,10 @@ export {pascal} from '@codemirror/legacy-modes/mode/pascal';
|
|||
export {powerShell} from '@codemirror/legacy-modes/mode/powershell';
|
||||
export {properties} from '@codemirror/legacy-modes/mode/properties';
|
||||
export {python} from '@codemirror/legacy-modes/mode/python';
|
||||
export {r} from '@codemirror/legacy-modes/mode/r';
|
||||
export {ruby} from '@codemirror/legacy-modes/mode/ruby';
|
||||
export {rust} from '@codemirror/legacy-modes/mode/rust';
|
||||
export {sas} from '@codemirror/legacy-modes/mode/sas';
|
||||
export {scheme} from '@codemirror/legacy-modes/mode/scheme';
|
||||
export {shell} from '@codemirror/legacy-modes/mode/shell';
|
||||
export {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
'Bash', 'CSS', 'C', 'C++', 'C#', 'Clojure', 'Dart', 'Diff', 'Fortran', 'F#', 'Go', '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',
|
||||
'Ruby', 'Rust', 'Scala', 'Scheme', 'Shell', 'Smarty', 'SQL', 'SQLite', 'Swift',
|
||||
'R', 'Ruby', 'Rust', 'SAS', 'Scala', 'Scheme', 'Shell', 'Smarty', 'SQL', 'SQLite', 'Swift',
|
||||
'Twig', 'TypeScript', 'VBScript', 'VB.NET', 'XML', 'YAML',
|
||||
];
|
||||
@endphp
|
||||
|
|
Loading…
Reference in New Issue
Block a user