From 54010aab946e722b1aa1b92f8c1da38ae480c9e1 Mon Sep 17 00:00:00 2001 From: Justice Almanzar Date: Sat, 3 Dec 2022 05:32:14 -0500 Subject: [PATCH] fix: hljs fallback (#283) --- src/plugins/shikiCodeblocks/components/Code.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/shikiCodeblocks/components/Code.tsx b/src/plugins/shikiCodeblocks/components/Code.tsx index ae41113c..ce6a7058 100644 --- a/src/plugins/shikiCodeblocks/components/Code.tsx +++ b/src/plugins/shikiCodeblocks/components/Code.tsx @@ -17,6 +17,7 @@ */ import type { IThemedToken } from "@vap/shiki"; +import { hljs } from "@webpack/common"; import { cl } from "../utils/misc"; import { ThemeBase } from "./Highlighter";