-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show Code Open by default #8356
Comments
I'd like to help contribute too. We can work together if you want @PaulieScanlon :) |
Thanks for volunteering! 🚀 I'd propose the following configuration API: addParameters({ docs: { previewSource: 'open' } }) This would get translated into Before you start, you should wait for this fix to get merged/released: #8024 |
Hey @sinharaksh1t yeah great! that sounds like a fab idea! Thanks for your input @shilman i'll keep an eye on #8024 |
Fantastic. Sounds like we're in an agreement then. I'll also keep an 👀 out for #8024. Once that gets merged, we'll start work on this. Thanks @PaulieScanlon and @shilman. |
So it looks like #8024 has been merged successfully? |
Slightly related comment: I'd like to add live editor in our Storybook (as #6642 is not yet implemented) and if I can get more options for stories customization (especially that Show/Hide code part) from CSF it'll be great. I know that we can use MDX for bigger customization, but as for me DocsPage is good enough and I don't need to create MDX documentation for each component. I'd only like to have an option to customize the story view (especially source code view). |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Any status update on this? |
closing as dupe to #10430 |
Hey team, CSF is great but it would be even better if it were possible to configure the 'stories'
Where you currently have the "Show code" could there be config to allow this to show code by default and for the button to say "Hide code"
I'd be happy to contribute if someone could point me in the right direction.
The text was updated successfully, but these errors were encountered: