diff --git a/app/lib/markdown/syntaxHighlight.tsx b/app/lib/markdown/syntaxHighlight.tsx index f94ff52..9a04c22 100644 --- a/app/lib/markdown/syntaxHighlight.tsx +++ b/app/lib/markdown/syntaxHighlight.tsx @@ -3,12 +3,12 @@ import { Highlight, themes } from "prism-react-renderer" type FenceProps = { children: string; - language: string; + language?: string; }; export function Fence({ children, language }: FenceProps) { return ( - + {({ className, style, tokens, getLineProps, getTokenProps }) => (
           {tokens.map((line, i) => (