mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-25 13:44:05 +08:00
parent
16e023985d
commit
7c597a05f6
@ -25,6 +25,7 @@ import 'codemirror/mode/ruby/ruby';
|
||||
import 'codemirror/mode/rust/rust';
|
||||
import 'codemirror/mode/shell/shell';
|
||||
import 'codemirror/mode/sql/sql';
|
||||
import 'codemirror/mode/stex/stex';
|
||||
import 'codemirror/mode/toml/toml';
|
||||
import 'codemirror/mode/vb/vb';
|
||||
import 'codemirror/mode/vbscript/vbscript';
|
||||
@ -59,6 +60,7 @@ const modeMap = {
|
||||
js: 'javascript',
|
||||
jl: 'julia',
|
||||
julia: 'julia',
|
||||
latex: 'text/x-stex',
|
||||
lua: 'lua',
|
||||
md: 'markdown',
|
||||
mdown: 'markdown',
|
||||
@ -83,6 +85,7 @@ const modeMap = {
|
||||
rs: 'rust',
|
||||
shell: 'shell',
|
||||
sh: 'shell',
|
||||
stext: 'text/x-stex',
|
||||
bash: 'shell',
|
||||
toml: 'toml',
|
||||
sql: 'text/x-sql',
|
||||
|
@ -23,6 +23,7 @@
|
||||
<a refs="code-editor@languageLink" data-lang="Java">Java</a>
|
||||
<a refs="code-editor@languageLink" data-lang="JavaScript">JavaScript</a>
|
||||
<a refs="code-editor@languageLink" data-lang="JSON">JSON</a>
|
||||
<a refs="code-editor@languageLink" data-lang="LaTeX">LaTeX</a>
|
||||
<a refs="code-editor@languageLink" data-lang="Lua">Lua</a>
|
||||
<a refs="code-editor@languageLink" data-lang="MarkDown">MarkDown</a>
|
||||
<a refs="code-editor@languageLink" data-lang="Nginx">Nginx</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user