migrate to svelte5 partially

This commit is contained in:
Alexander Daichendt 2024-12-11 12:52:12 +01:00
parent 82150df591
commit 38065f6d7d
15 changed files with 3881 additions and 5433 deletions

View file

@ -3,7 +3,6 @@ import remarkGFM from 'remark-gfm';
import remarkEmoji from 'remark-emoji';
import rehypeSlug from 'rehype-slug';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import remarkFootnotes from 'remark-footnotes';
const config = defineConfig({
layout: {
@ -15,7 +14,7 @@ const config = defineConfig({
dashes: 'oldschool',
},
remarkPlugins: [remarkGFM, remarkEmoji, remarkFootnotes],
remarkPlugins: [remarkGFM, remarkEmoji],
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behaviour: 'append' }]],
});