@@ -8,10 +8,10 @@ import expressiveCode from "astro-expressive-code";
88import icon from "astro-icon" ;
99import { defineConfig } from "astro/config" ;
1010import rehypeAutolinkHeadings from "rehype-autolink-headings" ;
11- import rehypeComponents from "rehype-components" ; /* Render the custom directive content */
11+ import rehypeComponents from "rehype-components" ; /* Render the custom directive content */
1212import rehypeKatex from "rehype-katex" ;
1313import rehypeSlug from "rehype-slug" ;
14- import remarkDirective from "remark-directive" ; /* Handle directives */
14+ import remarkDirective from "remark-directive" ; /* Handle directives */
1515import remarkGithubAdmonitionsToDirectives from "remark-github-admonitions-to-directives" ;
1616import remarkMath from "remark-math" ;
1717import remarkSectionize from "remark-sectionize" ;
@@ -24,12 +24,15 @@ import { remarkExcerpt } from "./src/plugins/remark-excerpt.js";
2424import { remarkReadingTime } from "./src/plugins/remark-reading-time.mjs" ;
2525import { pluginCustomCopyButton } from "./src/plugins/expressive-code/custom-copy-button.js" ;
2626
27+ import cloudflare from "@astrojs/cloudflare" ;
28+
2729// https://astro.build/config
2830export default defineConfig ( {
29- site : "https://blog.alinche.dpdns.org/" ,
30- base : "/" ,
31- trailingSlash : "always" ,
32- integrations : [
31+ site : "https://blog.alinche.dpdns.org/" ,
32+ base : "/" ,
33+ trailingSlash : "always" ,
34+
35+ integrations : [
3336 tailwind ( {
3437 nesting : true ,
3538 } ) ,
@@ -102,7 +105,8 @@ export default defineConfig({
102105 svelte ( ) ,
103106 sitemap ( ) ,
104107 ] ,
105- markdown : {
108+
109+ markdown : {
106110 remarkPlugins : [
107111 remarkMath ,
108112 remarkReadingTime ,
@@ -153,7 +157,8 @@ export default defineConfig({
153157 ] ,
154158 ] ,
155159 } ,
156- vite : {
160+
161+ vite : {
157162 build : {
158163 rollupOptions : {
159164 onwarn ( warning , warn ) {
@@ -169,4 +174,6 @@ export default defineConfig({
169174 } ,
170175 } ,
171176 } ,
172- } ) ;
177+
178+ adapter : cloudflare ( )
179+ } ) ;
0 commit comments