diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 7051cec2b..b5338525c 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -724,6 +724,17 @@ export interface AstroUserConfig { * @description * Enable Astro's pre-v1.0 support for components and JSX expressions in `.md` Markdown files. * In Astro `1.0.0-rc`, this original behavior was removed as the default, in favor of our new [MDX integration](/en/guides/integrations-guide/mdx/). + * + * To enable this behavior, set `legacy.astroFlavoredMarkdown` to `true` in your [`astro.config.mjs` configuration file](/en/guides/configuring-astro/#the-astro-config-file). + * + * ```js + * { + * legacy: { + * // Example: Add support for legacy Markdown features + * astroFlavoredMarkdown: true, + * }, + * } + * ``` */ astroFlavoredMarkdown?: boolean; };