Skip to content

Commit

Permalink
refactor: reorder remarkPlugins to improve plugin configuration in Ma…
Browse files Browse the repository at this point in the history
…rkdown component
  • Loading branch information
danny-avila committed Jan 24, 2025
1 parent 22f1fe3 commit 013f7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Chat/Messages/Content/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ const Markdown = memo(({ content = '', showCursor, isLatestMessage }: TContentPr
const remarkPlugins: Pluggable[] = [
supersub,
remarkGfm,
artifactPlugin,
remarkDirective,
artifactPlugin,
[remarkMath, { singleDollarTextMath: true }],
];

Expand Down

0 comments on commit 013f7e4

Please sign in to comment.