blog/astro.config.ts
2023-08-31 10:33:14 -05:00

16 lines
470 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";
// https://astro.build/config
export default defineConfig({
site: "https://mzhang.io",
integrations: [mdx(), sitemap(), astroImageTools],
markdown: {
syntaxHighlight: false,
remarkPlugins: [remarkReadingTime],
},
});