27 lines
644 B
JavaScript
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',
|
||
|
},
|
||
|
],
|
||
|
],
|
||
|
},
|
||
|
})
|