-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
45 lines (43 loc) · 1.03 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import icon from "astro-icon";
import remarkToc from "remark-toc";
import cloudflare from "@astrojs/cloudflare";
// https://astro.build/config
export default defineConfig({
output: "server",
adapter: cloudflare({
imageService: "cloudflare",
}),
//Opciones del Servidor
server: {
port: 7000,
host: true,
},
//La URL final donde se desplegará
site: "https://gilberto-la-rosa.xyz/",
// integraciones
integrations: [
tailwind(),
mdx({
syntaxHighlight: "shiki",
shikiConfig: {
theme: "github-dark-dimmed",
},
remarkPlugins: [remarkToc],
// rehypePlugins: [rehypeMinifyHtml],
remarkRehype: {
footnoteLabel: "Footnotes",
},
gfm: false,
}),
sitemap({
filter: (page) => page !== "https://gilberto-la-rosa.xyz/",
}),
icon({
iconDir: "src/assets/icons",
}),
],
});