switch to Astro

This commit is contained in:
2024-05-03 22:49:29 +02:00
parent 0aa328cc09
commit 4405754d1d
70 changed files with 9077 additions and 825 deletions
+26
View File
@@ -0,0 +1,26 @@
import { defineConfig } from 'astro/config'
import svelte from '@astrojs/svelte'
import mdx from '@astrojs/mdx'
import remarkGfm from 'remark-gfm'
import remarkSmartypants from 'remark-smartypants'
import rehypeExternalLinks from 'rehype-external-links'
// https://astro.build/config
export default defineConfig({
site: 'https://youhavetrouble.me',
integrations: [mdx(), svelte()],
markdown: {
shikiConfig: {
theme: 'nord',
},
remarkPlugins: [remarkGfm, remarkSmartypants],
rehypePlugins: [
[
rehypeExternalLinks,
{
target: '_blank',
},
],
],
},
})