mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
feat(options/code): display tooltip for syntax highlighting support
This commit is contained in:
@@ -3,7 +3,7 @@ import type { LanguageFn } from "highlight.js";
|
||||
|
||||
type MimeRecord = Record<string, (() => Promise<{ default: LanguageFn}>) | null>;
|
||||
|
||||
const byMimeType: MimeRecord = {
|
||||
export const byMimeType: MimeRecord = {
|
||||
"text/plain": () => import("highlight.js/lib/languages/plaintext"),
|
||||
"application/dart": () => import("highlight.js/lib/languages/dart"),
|
||||
"application/edn": () => import("highlight.js/lib/languages/clojure"),
|
||||
|
||||
Reference in New Issue
Block a user