Skip to content

Commit 24706c0

Browse files
authored
Merge pull request #705 from prototypa/main
Update dependencies (Astro v6.4.2)
2 parents 22226ed + 607e3d8 commit 24706c0

3 files changed

Lines changed: 464 additions & 425 deletions

File tree

astro.config.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { fileURLToPath } from 'url';
33

44
import { defineConfig } from 'astro/config';
55

6+
import { unified } from '@astrojs/markdown-remark';
7+
68
import sitemap from '@astrojs/sitemap';
79
import tailwindcss from '@tailwindcss/vite';
810
import mdx from '@astrojs/mdx';
@@ -83,8 +85,10 @@ export default defineConfig({
8385
},
8486

8587
markdown: {
86-
remarkPlugins: [readingTimeRemarkPlugin],
87-
rehypePlugins: [responsiveTablesRehypePlugin],
88+
processor: unified({
89+
remarkPlugins: [readingTimeRemarkPlugin],
90+
rehypePlugins: [responsiveTablesRehypePlugin],
91+
}),
8892
},
8993

9094
vite: {

0 commit comments

Comments
 (0)