remark/rehype

This template is using a set of common rehype/mark plugins, including and .

const options: BundleMDXOptions = {
  // other options
  mdxBundlerOptions: {
    mdxOptions: {
      jsxImportSource: 'preact',
      remarkPlugins: [
        /* add or change remark plugins*/
      ],
      rehypePlugins: [
        /* add or change rehype plugins*/
      ],
    },
  },
};

export default options;