Skip to content

Commit 22dad76

Browse files
committed
1 parent 6fc3fa0 commit 22dad76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/streamdown/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ export type StreamdownProps = Options & {
6969
};
7070

7171
export const defaultRehypePlugins: Record<string, Pluggable> = {
72+
raw: rehypeRaw,
73+
katex: [rehypeKatex, { errorColor: "var(--color-muted-foreground)" }],
7274
harden: [
7375
harden,
7476
{
@@ -78,8 +80,6 @@ export const defaultRehypePlugins: Record<string, Pluggable> = {
7880
allowDataImages: true,
7981
},
8082
],
81-
raw: rehypeRaw,
82-
katex: [rehypeKatex, { errorColor: "var(--color-muted-foreground)" }],
8383
} as const;
8484

8585
export const defaultRemarkPlugins: Record<string, Pluggable> = {

0 commit comments

Comments
 (0)