Repository navigation
How to generate table in storybook .mdx files #22613
Answered
by
f3bw
JohnVersus
asked this question in
Help
|
I have table added in the .md format like below But storybook is not rendering the table. This is how it is rendered. Any suggestions for adding a table? Thank you |
Answered by
f3bw
May 23, 2023
Replies: 3 comments 4 replies
|
You could try a more complex one (extra styling etc), something like this: jsx Markdown: And then of course change it to your liking. |
2 replies
Answer selected by
JohnVersus
|
You can import Markdown from '@storybook/blocks' and put your table inside |
2 replies
|
Storybook officially recommends enabling the remark-gfm plugin in the configuration file:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could try a more complex one (extra styling etc), something like this:
jsx
Markdown: