Skip to content

Commit a7565dc

Browse files
committed
feat: add support for using mdx files for plugin descriptions
1 parent fd866b5 commit a7565dc

File tree

5 files changed

+951
-16
lines changed

5 files changed

+951
-16
lines changed

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import yaml from '@rollup/plugin-yaml';
44
import process from "node:process";
55
import svelte from '@astrojs/svelte';
66
import {fileURLToPath} from "node:url";
7+
import mdx from '@astrojs/mdx';
78

89
const baseUrl = "/" + (process.env.WEBSITE_BASE?.split('/')?.slice(1)?.join('/') ?? "");
910

@@ -27,7 +28,7 @@ export default defineConfig({
2728
svg: true,
2829
},
2930

30-
integrations: [svelte()],
31+
integrations: [svelte(), mdx()],
3132

3233
markdown: {
3334
shikiConfig: {

0 commit comments

Comments
 (0)