mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
chore(code): use CSS plugin
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "6.8.1",
|
||||
"@codemirror/lang-css": "6.3.1",
|
||||
"@codemirror/lang-html": "6.4.9",
|
||||
"@codemirror/lang-markdown": "6.3.2",
|
||||
"@codemirror/lang-php": "6.0.1",
|
||||
|
||||
@@ -27,7 +27,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
|
||||
"message/http": async () => (await import('@codemirror/legacy-modes/mode/http')).http,
|
||||
"text/apl": async () => (await import('@codemirror/legacy-modes/mode/apl')).apl,
|
||||
"text/coffeescript": async () => (await import('@codemirror/legacy-modes/mode/coffeescript')).coffeeScript,
|
||||
"text/css": async () => (await import('@codemirror/legacy-modes/mode/css')).css,
|
||||
"text/css": async () => (await import('@codemirror/lang-css')).css(),
|
||||
"text/html": async () => (await import('@codemirror/lang-html')).html(),
|
||||
"text/jinja2": async () => (await import('@codemirror/legacy-modes/mode/jinja2')).jinja2,
|
||||
"text/jsx": null,
|
||||
|
||||
Reference in New Issue
Block a user