CycleSam-Site/astro.config.mjs

27 lines
644 B
JavaScript
Raw Normal View History

2024-08-27 20:34:51 +00:00
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',
},
],
],
},
})