Skip to content

Commit

Permalink
Merge pull request #75 from miurla/fix-gfm
Browse files Browse the repository at this point in the history
Update rehypePlugins and remarkPlugins in BotMessage component
  • Loading branch information
miurla authored Apr 23, 2024
2 parents 525df96 + a77f4e5 commit fcd93c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export function BotMessage({

return (
<MemoizedReactMarkdown
rehypePlugins={[[rehypeExternalLinks, { target: '_blank' }, remarkGfm]]}
rehypePlugins={[[rehypeExternalLinks, { target: '_blank' }]]}
remarkPlugins={[remarkGfm]}
className="prose-sm prose-neutral prose-a:text-accent-foreground/50"
>
{data}
Expand Down

0 comments on commit fcd93c2

Please sign in to comment.