diff options
author | Justice Almanzar <superdash993@gmail.com> | 2022-12-03 05:32:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 11:32:14 +0100 |
commit | 54010aab946e722b1aa1b92f8c1da38ae480c9e1 (patch) | |
tree | ab41dec9a2cc4bd4fcaef8a73b02f62c330cea54 /src/plugins/shikiCodeblocks | |
parent | 62b2acebe6806c7b0e2ca6a43c6b2419a627b8dc (diff) | |
download | Vencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.tar.gz Vencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.tar.bz2 Vencord-54010aab946e722b1aa1b92f8c1da38ae480c9e1.zip |
fix: hljs fallback (#283)
Diffstat (limited to 'src/plugins/shikiCodeblocks')
-rw-r--r-- | src/plugins/shikiCodeblocks/components/Code.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/shikiCodeblocks/components/Code.tsx b/src/plugins/shikiCodeblocks/components/Code.tsx index ae41113..ce6a705 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"; |