Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12882 from niklasmh/11358-render-newlines-in-mark…
…down-code-blocks-in-argtables Addon-docs: Fix newline handling in ArgsTable code blocks
- Loading branch information
Showing
4 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import { Story, Meta } from '@storybook/addon-docs'; | ||
import { Story, Meta, ArgsTable } from '@storybook/addon-docs'; | ||
import Container from '../components/Container' | ||
|
||
<Meta title="Docs/Test" /> | ||
<Meta title="Docs/Test" component={Container} /> | ||
|
||
<Story name="NewStory123"> | ||
<h2> Hello </h2> | ||
<Container> | ||
<h1>Hello</h1> | ||
</Container> | ||
</Story> | ||
|
||
## Arguments | ||
|
||
<ArgsTable story="NewStory123" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters