From bb423bd59ceaf29d3c000b95a19e13ede8f31045 Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 19 Jan 2024 16:57:26 -0700 Subject: [PATCH 1/2] Remove mentions of MDX 2 - Remove Breaking changes section - Move GFM instructions to Troubleshooting section - Remove blockquotes, which render in a huge font --- docs/faq.md | 8 +-- docs/writing-docs/autodocs.md | 4 +- docs/writing-docs/mdx.md | 94 +++++++++++------------------------ 3 files changed, 35 insertions(+), 71 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 55840449c2fa..424f201aed61 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -21,7 +21,7 @@ Here are some answers to frequently asked questions. If you have a question, you - [I see a "No Preview" error with a Storybook production build](#i-see-a-no-preview-error-with-a-storybook-production-build) - [Can I use Storybook with Vue 3?](#can-i-use-storybook-with-vue-3) - [Why aren't my code blocks highlighted with Storybook MDX](#why-arent-my-code-blocks-highlighted-with-storybook-mdx) -- [Why aren't my MDX 2 stories working in Storybook?](#why-arent-my-mdx-2-stories-working-in-storybook) +- [Why aren't my MDX stories working in Storybook?](#why-arent-my-mdx-stories-working-in-storybook) - [Why are my mocked GraphQL queries failing with Storybook's MSW addon?](#why-are-my-mocked-graphql-queries-failing-with-storybooks-msw-addon) - [Can I use other GraphQL providers with Storybook's MSW addon?](#can-i-use-other-graphql-providers-with-storybooks-msw-addon) - [Can I mock GraphQL mutations with Storybook's MSW addon?](#can-i-mock-graphql-mutations-with-storybooks-msw-addon) @@ -371,9 +371,9 @@ Yes, with the release of version 6.2, Storybook now includes support for Vue 3. Out of the box, Storybook provides syntax highlighting for a set of languages (e.g., Javascript, Markdown, CSS, HTML, Typescript, GraphQL) you can use with your code blocks. Currently, there's a known limitation when you try and register a custom language to get syntax highlighting. We're working on a fix for this And will update this section once it's available. -## Why aren't my MDX 2 stories working in Storybook? +## Why aren't my MDX stories working in Storybook? -MDX 2 introduced some changes to how the code is rendered. For example, if you enabled it in your Storybook and you have the following code block: +MDX 2 introduced some changes to how the code is rendered. For example, if you have the following code block: ```