// @ts-check import { defineConfig } from "astro/config"; import mdx from "@astrojs/mdx"; import sitemap from "@astrojs/sitemap"; import { rehypeAccessibleEmojis } from "rehype-accessible-emojis"; import rehypeCustomHtml from "./rehype-custom-html"; // https://astro.build/config export default defineConfig({ integrations: [mdx(), sitemap()], output: "server", site: "https://vielle.dev", markdown: { // @ts-expect-error idk why this gets flagged as wrong rehypePlugins: [rehypeAccessibleEmojis, rehypeCustomHtml], shikiConfig: { themes: { dark: "catppuccin-frappe", light: "github-light-high-contrast", }, defaultColor: false, }, }, });