Skip to content

index

function internalMDXIntegration(packageIdentifier: string, options?: MDXPluginOptions): AstroIntegration;

Defined in: index.ts:23^

Creates an internal Astro integration for MDX functionality. This is used by the StudioCMS plugin and can be used directly in tests.

string

The package identifier for the integration.

MDXPluginOptions

Optional configuration options for the MDX plugin.

AstroIntegration

The configured Astro integration.


function studiocmsMDX(options?: MDXPluginOptions): StudioCMSPlugin;

Defined in: index.ts:84^

Creates and configures the StudioCMS MDX plugin.

MDXPluginOptions

Optional configuration options for the MDX plugin.

StudioCMSPlugin

The configured StudioCMS plugin.

plugins: [
studiocmsMDX({
remarkPlugins: [],
rehypePlugins: [],
recmaPlugins: [],
remarkRehypeOptions: {}
}),
]

Renames and re-exports studiocmsMDX