barrettruth.com/astro.config.mjs
2025-05-22 17:19:31 -05:00

25 lines
514 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: {
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
shikiConfig: {
theme: "github-light",
langs: [],
wrap: true,
},
},
});