Replies: 4 comments 1 reply
-
Any clue ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi @harkor, thanks for opening this issue. @MrErHu is right -- |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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