Add MDX support

Start writing a blog and clean up/hide tester stuff
This commit is contained in:
Michał Gdula 2024-05-28 21:36:29 +01:00
parent 18729faff4
commit 54e79beb30
18 changed files with 870 additions and 43 deletions

View file

@ -1,14 +1,16 @@
import { defineConfig } from "astro/config";
import syntaxTheme from "./syntax-theme.json";
import mdx from "@astrojs/mdx";
// https://astro.build/config
export default defineConfig({
output: "static",
markdown: {
syntaxHighlight: "shiki",
shikiConfig: {
theme: syntaxTheme,
},
},
});
output: "static",
markdown: {
syntaxHighlight: "shiki",
shikiConfig: {
theme: syntaxTheme
}
},
integrations: [mdx()]
});