mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
12 lines
387 B
JavaScript
12 lines
387 B
JavaScript
import mdx from '@astrojs/mdx';
|
|
import { defineConfig } from 'astro/config';
|
|
import { rehypeReadingTime, remarkDescription, remarkTitle } from './src/markdown-plugins.mjs';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://astro.build/',
|
|
integrations: [mdx({
|
|
remarkPlugins: [remarkTitle, remarkDescription],
|
|
rehypePlugins: [rehypeReadingTime],
|
|
})],
|
|
});
|