Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(dx/client): fix highlightjs not working
Elian Doran836242497634
diff --git a/packages/highlightjs/src/index.ts b/packages/highlightjs/src/index.tsindex 29ffec2a7e..3552681792 100644--- a/packages/highlightjs/src/index.ts+++ b/packages/highlightjs/src/index.ts@@ -1,4 +1,4 @@-import hljs from "../node_modules/highlight.js/es/core.js";+import hljs from "highlight.js";import { normalizeMimeTypeForCKEditor, type MimeType } from "@triliumnext/commons";import syntaxDefinitions from "./syntax_highlighting.js";import { type Theme } from "./themes.js";