30 lines
648 B
JavaScript
30 lines
648 B
JavaScript
import { defineConfig } from "astro/config";
|
|
import react from "@astrojs/react";
|
|
import tailwind from "@astrojs/tailwind";
|
|
import mdx from "@astrojs/mdx";
|
|
import rehypePrettyCode from "rehype-pretty-code";
|
|
import rehypeSlug from "rehype-slug";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://www.juancman.dev/",
|
|
integrations: [
|
|
react(),
|
|
tailwind({
|
|
applyBaseStyles: false,
|
|
}),
|
|
mdx({
|
|
syntaxHighlight: false,
|
|
rehypePlugins: [
|
|
rehypeSlug,
|
|
[
|
|
rehypePrettyCode,
|
|
{
|
|
theme: "catppuccin-mocha",
|
|
},
|
|
],
|
|
],
|
|
}),
|
|
],
|
|
});
|