From a7a4cdf0b02ee8c7ba3b20c6dc877f775e8f4e45 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Mon, 23 Oct 2023 19:48:45 +0100 Subject: [PATCH] Docs: Addon-docs minor changes --- code/addons/docs/README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/code/addons/docs/README.md b/code/addons/docs/README.md index 02c97503b313..025ff9bbd697 100644 --- a/code/addons/docs/README.md +++ b/code/addons/docs/README.md @@ -146,7 +146,6 @@ export default { jsxOptions: {}, csfPluginOptions: null, mdxPluginOptions: {}, - transcludeMarkdown: true, }, }, ], @@ -157,16 +156,9 @@ export default { `csfPluginOptions` is an object for configuring `@storybook/csf-plugin`. When set to `null` it tells docs not to run the `csf-plugin` at all, which can be used as an optimization, or if you're already using `csf-plugin` in your `main.js`. -The `transcludeMarkdown` option enables mdx files to import `.md` files and render them as a component. -```mdx -import { Meta } from '@storybook/addon-docs'; -import Changelog from '../CHANGELOG.md'; +> With the release of version 7.0, it is no longer possible to import `.md` files directly into Storybook using the `transcludeMarkdown` [option](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#importing-plain-markdown-files-with-transcludemarkdown-has-changed). Instead, we recommend using the [`Markdown`](https://storybook.js.org/docs/react/api/doc-block-markdown) Doc Block for importing Markdown files into your Storybook documentation. - - - -``` ## TypeScript configuration