diff --git a/frontend/components/editor/AIChat/lib/markdownComponents.tsx b/frontend/components/editor/AIChat/lib/markdownComponents.tsx index c5cbbf3..e6e1418 100644 --- a/frontend/components/editor/AIChat/lib/markdownComponents.tsx +++ b/frontend/components/editor/AIChat/lib/markdownComponents.tsx @@ -25,39 +25,40 @@ export const createMarkdownComponents = ( const match = /language-(\w+)/.exec(className || "") return match ? ( -
-
+
+
{match[1]}
-
- {renderCopyButton(children)} - -
-
- - {stringifyContent(children)} - +
+
+ {renderCopyButton(children)} +
+ +
+ + {stringifyContent(children)} +
) : (