Skip to content

Commit bde8742

Browse files
authored
Merge pull request #56 from Flow-Launcher/add-support-for-mdx-files
feat: add support for using mdx files for plugin descriptions
2 parents fd866b5 + a7565dc commit bde8742

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)