Skip to content

Commit 8b42fba

Browse files
committed
fix mdx conf: we were overriding existing remark plugins
mdx inherits the remark config if you leave the defaults. And we already add our remarkReplaceVars plugins there.
1 parent c039617 commit 8b42fba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/astro-theme/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ export default function ThemeIntegration(
5858
frames: {},
5959
},
6060
}),
61-
mdx({
62-
remarkPlugins: [remarkReplaceVars],
63-
}),
61+
mdx(),
6462
sitemap(),
6563
tailwind(),
6664
robotsTxt(),

0 commit comments

Comments
 (0)