diff --git a/src/content/docs/en/guides/upgrade-to/v1.mdx b/src/content/docs/en/guides/upgrade-to/v1.mdx index 567d8416ed07f..410f6dc135dbe 100644 --- a/src/content/docs/en/guides/upgrade-to/v1.mdx +++ b/src/content/docs/en/guides/upgrade-to/v1.mdx @@ -3,9 +3,8 @@ title: Legacy v0.x Upgrade Guide description: Archived guide documenting changes between pre-v1 versions of Astro i18nReady: false --- -import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro' - - +import { Steps } from '@astrojs/starlight/components'; +import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'; This guide will help you upgrade through breaking changes in pre-v1 versions of Astro. @@ -37,7 +36,6 @@ You can update your project's version of Astro to the latest version using your - Read the guide below for major highlights and instructions on how to handle breaking changes. ## Astro 1.0 @@ -100,6 +98,7 @@ To make migrating easier, a new `legacy.astroFlavoredMarkdown` flag (removed in If you're not familiar with MDX, here are some steps you can follow to quickly convert an existing "Astro Flavored Markdown" file to MDX. As you learn more about MDX, feel free to explore other ways of writing your pages! + 1. Install the [`@astrojs/mdx`](/en/guides/integrations-guide/mdx/) integration. 2. Change your existing `.md` file extensions to `.mdx` @@ -150,6 +149,7 @@ If you're not familiar with MDX, here are some steps you can follow to quickly c ``` + :::tip While you are transitioning to MDX, you may wish to enable the `legacy.astroFlavoredMarkdown` flag (removed in v2.0) and include both **`.md` and `.mdx`** files, so that your site continues to function normally even before all your files have been converted. Here is one way you can do that: @@ -228,7 +228,6 @@ This includes a few changes to be aware of: - New `