Skip to content

Build your personal knowledge base with Trilium Notes

chore(dx/client): fix highlightjs not working

Elian Doran836242497634
diff --git a/packages/highlightjs/src/index.ts b/packages/highlightjs/src/index.ts
index 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";