Home / Type/ MdxOptions Type — astro Architecture

MdxOptions Type — astro Architecture

Architecture documentation for the MdxOptions type/interface in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  484034f1_d49c_9f0b_4749_da9ae2728e21["MdxOptions"]
  4dbca764_76ba_1a5b_79ab_f6ddff0cb420["index.ts"]
  484034f1_d49c_9f0b_4749_da9ae2728e21 -->|defined in| 4dbca764_76ba_1a5b_79ab_f6ddff0cb420
  style 484034f1_d49c_9f0b_4749_da9ae2728e21 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/mdx/src/index.ts lines 18–27

export type MdxOptions = Omit<typeof markdownConfigDefaults, 'remarkPlugins' | 'rehypePlugins'> & {
	extendMarkdownConfig: boolean;
	recmaPlugins: PluggableList;
	// Markdown allows strings as remark and rehype plugins.
	// This is not supported by the MDX compiler, so override types here.
	remarkPlugins: PluggableList;
	rehypePlugins: PluggableList;
	remarkRehype: RemarkRehypeOptions;
	optimize: boolean | OptimizeOptions;
};

Frequently Asked Questions

What is the MdxOptions type?
MdxOptions is a type/interface in the astro codebase, defined in packages/integrations/mdx/src/index.ts.
Where is MdxOptions defined?
MdxOptions is defined in packages/integrations/mdx/src/index.ts at line 18.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free