barrettruth.com/astro.config.mjs
2025-06-05 17:44:42 -05:00

23 lines
447 B
JavaScript

import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
export default defineConfig({
build: {
format: "file",
},
integrations: [
mdx({
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
}),
],
markdown: {
shikiConfig: {
theme: "github-light",
langs: [],
wrap: true,
},
},
});