From 000d3e6940839c2aebba1984e6fb3b133cec6749 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 4 Jan 2023 11:46:05 +0100 Subject: [PATCH] Fix docs links in MDX README (#5741) --- .changeset/quick-impalas-rush.md | 5 +++++ packages/integrations/mdx/README.md | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/quick-impalas-rush.md diff --git a/.changeset/quick-impalas-rush.md b/.changeset/quick-impalas-rush.md new file mode 100644 index 000000000..7b9ae2f04 --- /dev/null +++ b/.changeset/quick-impalas-rush.md @@ -0,0 +1,5 @@ +--- +'@astrojs/mdx': patch +--- + +Fix broken links in README diff --git a/packages/integrations/mdx/README.md b/packages/integrations/mdx/README.md index 8267d80de..d3abbdbe2 100644 --- a/packages/integrations/mdx/README.md +++ b/packages/integrations/mdx/README.md @@ -66,7 +66,7 @@ export default defineConfig({ ## Usage -With the Astro MDX integration, you can [add MDX pages to your project](/en/guides/markdown-content/#markdown-and-mdx-pages) by adding `.mdx` files within your `src/pages/` directory. You can also [import `.mdx` files](https://docs.astro.build/en/guides/markdown-content/#importing-markdown) into `.astro` files. +With the Astro MDX integration, you can [add MDX pages to your project](https://docs.astro.build/en/guides/markdown-content/#markdown-and-mdx-pages) by adding `.mdx` files within your `src/pages/` directory. You can also [import `.mdx` files](https://docs.astro.build/en/guides/markdown-content/#importing-markdown) into `.astro` files. Astro's MDX integration adds extra features to standard MDX, including Markdown-style frontmatter. This allows you to use most of Astro's built-in Markdown features like a [special frontmatter `layout` property](https://docs.astro.build/en/guides/markdown-content/#frontmatter-layout) and a [property for marking a page as a draft](https://docs.astro.build/en/guides/markdown-content/#draft-pages). @@ -198,6 +198,6 @@ This package is maintained by Astro's Core team. You're welcome to submit an iss See [CHANGELOG.md](https://github.com/withastro/astro/tree/main/packages/integrations/mdx/CHANGELOG.md) for a history of changes to this integration. -[astro-integration]: /en/guides/integrations-guide/ +[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/ -[astro-ui-frameworks]: /en/core-concepts/framework-components/#using-framework-components +[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components