Skip to content

Commit fa6c6f0

Browse files
authored
Merge pull request #966 from yamanoku/renovate/major-astro-monorepo
fix(deps): update dependency astro to v7
2 parents d5f07cb + 429c714 commit fa6c6f0

8 files changed

Lines changed: 2196 additions & 747 deletions

File tree

astro.config.mjs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
import { defineConfig } from 'astro/config';
2+
import { unified } from '@astrojs/markdown-remark';
23
import sitemap from '@astrojs/sitemap';
34
import tailwindcss from '@tailwindcss/vite';
4-
import tcy from '@love-rox/tcy-astro';
5+
import rehypeTcy from '@love-rox/tcy-rehype';
56

67
// https://astro.build/config
78
export default defineConfig({
89
site: 'https://archives.yamanoku.net',
910
vite: {
1011
plugins: [tailwindcss()],
1112
},
12-
integrations: [sitemap(), tcy({ target: 'digit' })],
13+
integrations: [sitemap()],
1314
markdown: {
1415
syntaxHighlight: 'prism',
15-
gfm: true,
16-
remarkRehype: {
17-
footnoteLabel: '脚注',
18-
footnoteBackLabel: 'コンテンツに戻る',
19-
},
16+
processor: unified({
17+
gfm: true,
18+
remarkRehype: {
19+
footnoteLabel: '脚注',
20+
footnoteBackLabel: 'コンテンツに戻る',
21+
},
22+
rehypePlugins: [[rehypeTcy, { target: 'digit' }]],
23+
}),
2024
},
2125
});

0 commit comments

Comments
 (0)