Skip to content

Commit

Permalink
Disable syntax highlighting in DAI (#2454)
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenSandwich committed May 16, 2024
1 parent fbc05a0 commit 919f3ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/chatbox/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ export default function Markdown({ markdown, className }: MarkdownProps) {
a: InlineLink,
}}
remarkPlugins={[remarkGfm]}
// @ts-expect-error - ignore type mismatch
rehypePlugins={[...rehypeCodePlugins]}
//// @ts-expect-error - ignore type mismatch
// TODO: Serialize and return markdown from the server
// rehypePlugins={[...rehypeCodePlugins]}
>
{markdown}
</ReactMarkdown>
Expand Down

0 comments on commit 919f3ec

Please sign in to comment.