mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
23 lines
560 B
JavaScript
23 lines
560 B
JavaScript
import { defineConfig } from "astro/config";
|
|
import tailwind from "@astrojs/tailwind";
|
|
import react from "@astrojs/react";
|
|
import remarkToc from "remark-toc";
|
|
import remarkCollapse from "remark-collapse";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://astro-paper.pages.dev/",
|
|
integrations: [
|
|
tailwind({
|
|
config: {
|
|
applyBaseStyles: false,
|
|
},
|
|
}),
|
|
react(),
|
|
],
|
|
markdown: {
|
|
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
|
|
extendDefaultPlugins: true,
|
|
},
|
|
});
|