From d777e75ee85affec4b33268db1cff1fac7d2c5eb Mon Sep 17 00:00:00 2001 From: NicolasMerget Date: Wed, 10 Apr 2024 15:08:14 +0200 Subject: [PATCH] fix: issue with properties page for patternhub --- showcases/patternhub/components/default-page.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/showcases/patternhub/components/default-page.tsx b/showcases/patternhub/components/default-page.tsx index c51710896ed..341d474359b 100644 --- a/showcases/patternhub/components/default-page.tsx +++ b/showcases/patternhub/components/default-page.tsx @@ -21,6 +21,18 @@ const DefaultPage = ({ children }: any) => { const router = useRouter(); useEffect(() => { + hljs.configure({ + languages: [ + 'js', + 'ts', + 'jsx', + 'tsx', + 'css', + 'scss', + 'html', + 'shell' + ] + }); hljs.highlightAll(); }, []);