Replies: 5 comments 1 reply
-
Any clue ? |
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.
-
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