We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc3fa0 commit 22dad76Copy full SHA for 22dad76
packages/streamdown/index.tsx
@@ -69,6 +69,8 @@ export type StreamdownProps = Options & {
69
};
70
71
export const defaultRehypePlugins: Record<string, Pluggable> = {
72
+ raw: rehypeRaw,
73
+ katex: [rehypeKatex, { errorColor: "var(--color-muted-foreground)" }],
74
harden: [
75
harden,
76
{
@@ -78,8 +80,6 @@ export const defaultRehypePlugins: Record<string, Pluggable> = {
78
80
allowDataImages: true,
79
81
},
82
],
- raw: rehypeRaw,
- katex: [rehypeKatex, { errorColor: "var(--color-muted-foreground)" }],
83
} as const;
84
85
export const defaultRemarkPlugins: Record<string, Pluggable> = {
0 commit comments