mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
feat(highlight): add gdscript
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
"name": "highlightjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@exercism/highlightjs-gdscript": "0.0.1",
|
||||
"@triliumnext/commons": "workspace:*",
|
||||
"highlight.js": "11.11.1"
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ const byMimeType: MimeRecord = {
|
||||
"text/x-fortran": () => import("highlight.js/lib/languages/fortran"),
|
||||
"text/x-fsharp": () => import("highlight.js/lib/languages/fsharp"),
|
||||
"text/x-gas": null,
|
||||
"text/x-gdscript": null,
|
||||
"text/x-gdscript": () => import("@exercism/highlightjs-gdscript"),
|
||||
"text/x-gfm": () => import("highlight.js/lib/languages/markdown"),
|
||||
"text/x-go": () => import("highlight.js/lib/languages/go"),
|
||||
"text/x-groovy": () => import("highlight.js/lib/languages/groovy"),
|
||||
|
||||
5
packages/highlightjs/src/types.d.ts
vendored
Normal file
5
packages/highlightjs/src/types.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
declare module '@exercism/highlightjs-gdscript' {
|
||||
import { LanguageFn } from "highlight.js";
|
||||
const defineLanguage: LanguageFn;
|
||||
export default defineLanguage;
|
||||
}
|
||||
Reference in New Issue
Block a user