You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I have complex documentation per story that I'd like to render into the docs page but it is currently not possible.
For example I'd like to render some custom HTML into the description of a story.
Describe the solution you'd like
As described here: #8527 (comment)
Functions can be passed as values to parameters.docs.page:
But not for a specific story's description parameters.docs.description:
MyStory.parameters={docs: {description: {// "story" property should also accepts a function, just like "page" for default exportstory: ()=>(<>
lots of complex things goes here
</>),},},}
It would be great for story property to accept String or Function as values, for more control over story-specific descriptions
Describe alternatives you've considered
There are none that I know of.
Are you able to assist to bring the feature to reality?
Maybe with some guidance?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
I have complex documentation per story that I'd like to render into the docs page but it is currently not possible.
For example I'd like to render some custom HTML into the description of a story.
Describe the solution you'd like
As described here: #8527 (comment)
Functions can be passed as values to parameters.docs.page:
But not for a specific story's description parameters.docs.description:
It would be great for story property to accept String or Function as values, for more control over story-specific descriptions
Describe alternatives you've considered
There are none that I know of.
Are you able to assist to bring the feature to reality?
Maybe with some guidance?
The text was updated successfully, but these errors were encountered: