2023-08-31 03:47:22 +00:00
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
import sitemap from "@astrojs/sitemap";
|
2023-08-31 15:33:14 +00:00
|
|
|
import { astroImageTools } from "astro-imagetools";
|
|
|
|
|
2023-08-31 08:07:03 +00:00
|
|
|
import { remarkReadingTime } from "./plugin/remark-reading-time";
|
2023-08-31 03:47:22 +00:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2023-08-31 08:17:02 +00:00
|
|
|
site: "https://mzhang.io",
|
2023-08-31 15:33:14 +00:00
|
|
|
integrations: [mdx(), sitemap(), astroImageTools],
|
2023-08-31 08:07:03 +00:00
|
|
|
markdown: {
|
|
|
|
syntaxHighlight: false,
|
|
|
|
remarkPlugins: [remarkReadingTime],
|
|
|
|
},
|
2023-08-31 03:47:22 +00:00
|
|
|
});
|