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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
387 B
JavaScript
Raw Permalink Normal View History

import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
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],
})],
});