From 7b47d5974498f595fa154e63b1d8f9e3eb1a68b2 Mon Sep 17 00:00:00 2001 From: Paul Wackerow <54227730+wackerow@users.noreply.github.com> Date: Mon, 21 Nov 2022 15:41:38 -0800 Subject: [PATCH] dynamically get prog lang name --- src/components/MDXComponents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MDXComponents.tsx b/src/components/MDXComponents.tsx index 755896cf8a..c9b65b5a6f 100644 --- a/src/components/MDXComponents.tsx +++ b/src/components/MDXComponents.tsx @@ -83,7 +83,7 @@ const Code = ({ className, ...code }: any) => { if (className?.startsWith('language-')) return (