astro/packages/integrations/mdx/test/fixtures/mdx-frontmatter-injection/astro.config.mjs

13 lines
349 B
JavaScript
Raw Normal View History

import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { rehypeReadingTime, remarkTitle } from './src/markdown-plugins.mjs';
// https://astro.build/config
export default defineConfig({
site: 'https://astro.build/',
integrations: [mdx({
remarkPlugins: [remarkTitle],
rehypePlugins: [rehypeReadingTime],
})],
});