shawn-reuter-blog/astro.config.mjs
2023-12-05 17:15:44 -08:00

27 lines
644 B
JavaScript

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://astro-blog-template.netlify.app',
integrations: [mdx(), svelte()],
markdown: {
shikiConfig: {
theme: 'nord',
},
remarkPlugins: [remarkGfm, remarkSmartypants],
rehypePlugins: [
[
rehypeExternalLinks,
{
target: '_blank',
},
],
],
},
})