Newer
Older
hello-programmer-world / astro.config.mjs
// @ts-check

import remarkCodeFile from './src/plugins/remarkCodeFile';

import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
  integrations: [mdx(), preact()],
  markdown: {
    remarkPlugins: [remarkCodeFile],
  }
});