shawn-reuter-blog/astro.config.mjs

27 lines
644 B
JavaScript
Raw Normal View History

2022-08-12 17:41:07 +00:00
import { defineConfig } from 'astro/config'
import svelte from '@astrojs/svelte'
import mdx from '@astrojs/mdx'
2023-12-06 01:15:44 +00:00
import remarkGfm from 'remark-gfm'
import remarkSmartypants from 'remark-smartypants'
import rehypeExternalLinks from 'rehype-external-links'
2022-08-12 17:41:07 +00:00
// https://astro.build/config
export default defineConfig({
site: 'https://astro-blog-template.netlify.app',
integrations: [mdx(), svelte()],
2022-08-12 18:35:44 +00:00
markdown: {
shikiConfig: {
theme: 'nord',
},
2023-12-06 01:15:44 +00:00
remarkPlugins: [remarkGfm, remarkSmartypants],
2022-08-12 18:35:44 +00:00
rehypePlugins: [
[
2023-12-06 01:15:44 +00:00
rehypeExternalLinks,
2022-08-12 18:35:44 +00:00
{
target: '_blank',
},
],
],
},
2022-08-12 17:41:07 +00:00
})