blog/astro.config.ts
Michael Zhang b29d3dda82
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
mermaid
2023-08-31 19:10:20 -05:00

17 lines
543 B
TypeScript

import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import { astroImageTools } from "astro-imagetools";
import { remarkReadingTime } from "./plugin/remark-reading-time";
import remarkMermaid from "astro-diagram/remark-mermaid";
// https://astro.build/config
export default defineConfig({
site: "https://mzhang.io",
integrations: [mdx(), sitemap(), astroImageTools],
markdown: {
syntaxHighlight: false,
remarkPlugins: [remarkReadingTime, remarkMermaid],
},
});