Replies: 6 comments 1 reply
-
Any clue ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
hi @harkor, thanks for opening this issue. @MrErHu is right -- |
Beta Was this translation helpful? Give feedback.
-
Commenting to say I would also be interested in this feature. Same use case with the prettier API |
Beta Was this translation helpful? Give feedback.
-
Possibly duplicate of #23703? |
Beta Was this translation helpful? Give feedback.
-
Fixed by #30426 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Since prettier 3.0.0, "prettier.format" return a Promise
So in rendered code in stories, the code shown is "[object Promise]"
In Stackblitz, u can see the right html formatting inside console.
To Reproduce
Stackblitz: https://stackblitz.com/github/harkor/storybook-prettier
Repo: https://github.com/harkor/storybook-prettier
System
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions