mirror of
https://github.com/sern-handler/website
synced 2026-06-23 00:02:30 +00:00
15 lines
704 B
TypeScript
15 lines
704 B
TypeScript
import { markdownConfigDefaults } from '@astrojs/markdown-remark';
|
|
import type { AstroIntegration } from 'astro';
|
|
import type { Options as RemarkRehypeOptions } from 'remark-rehype';
|
|
import type { PluggableList } from 'unified';
|
|
import type { OptimizeOptions } from './rehype-optimize-static.js';
|
|
export type MdxOptions = Omit<typeof markdownConfigDefaults, 'remarkPlugins' | 'rehypePlugins'> & {
|
|
extendMarkdownConfig: boolean;
|
|
recmaPlugins: PluggableList;
|
|
remarkPlugins: PluggableList;
|
|
rehypePlugins: PluggableList;
|
|
remarkRehype: RemarkRehypeOptions;
|
|
optimize: boolean | OptimizeOptions;
|
|
};
|
|
export default function mdx(partialMdxOptions?: Partial<MdxOptions>): AstroIntegration;
|