index
Functions
Section titled “Functions”internalMDXIntegration()
Section titled “internalMDXIntegration()”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.
Parameters
Section titled “Parameters”packageIdentifier
Section titled “packageIdentifier”string
The package identifier for the integration.
options?
Section titled “options?”Optional configuration options for the MDX plugin.
Returns
Section titled “Returns”AstroIntegration
The configured Astro integration.
studiocmsMDX()
Section titled “studiocmsMDX()”function studiocmsMDX(options?: MDXPluginOptions): StudioCMSPlugin;
Defined in: index.ts:84^
Creates and configures the StudioCMS MDX plugin.
Parameters
Section titled “Parameters”options?
Section titled “options?”Optional configuration options for the MDX plugin.
Returns
Section titled “Returns”StudioCMSPlugin
The configured StudioCMS plugin.
Example
Section titled “Example”plugins: [ studiocmsMDX({ remarkPlugins: [], rehypePlugins: [], recmaPlugins: [], remarkRehypeOptions: {} }),]
References
Section titled “References”default
Section titled “default”Renames and re-exports studiocmsMDX