Merge pull request #11880 from storybookjs/6.0-docs-tweaks

Fix malformed markdown in 6.0 documentation that was causing bugs
This commit is contained in:
Michael Shilman 2020-08-11 10:15:09 +08:00 committed by GitHub
commit d063351f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -29,7 +29,7 @@ Your project may have additional requirements before components can be rendered
<details>
<summary>Build configuration like webpack and Babel</summary>
If you see errors on the CLI when you run the `yarn storybook` command. Its likely you need to make changes to Storybooks build configuration. Here are some things to try:
- [Presets](../api/presets.md) bundle common configurations for various technologies into Storybook. In particular presets exist for Create React App, SCSS and Ant Design.
@ -40,7 +40,7 @@ If you see errors on the CLI when you run the `yarn storybook` command. Its l
<details>
<summary>Runtime configuration</summary>
If Storybook builds but you see an error immediately when connecting to it in the browser, then chances are one of your input files is not compiling/transpiling correctly to be interpreted by the browser. Storybook supports modern browsers and IE11, but you may need to check the Babel and webpack settings (see above) to ensure your component code works correctly.
</details>

View File

@ -227,7 +227,7 @@ You can also reuse stories from the child `ListItem` in your `List` component. T
<!-- prettier-ignore-end -->
<div class="aside">
Note that there are disadvantages in writing stories like this as you cannot take full advantage of the args mechanism and composing args as you build more complex composite components. For more discussion, set the [multi component stories](../workflows/stories-for-multiple-components.md) workflow article.
</div>
Note that there are disadvantages in writing stories like this as you cannot take full advantage of the args mechanism and composing args as you build more complex composite components. For more discussion, set the [multi component stories](../workflows/stories-for-multiple-components.md) workflow article.
</div>