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
I want to be able to show reproductions of prettier-plugin-astro bugs in an easy to use environment. I want to be able to paste an astro snippet, and see the Prettier Doc output, and the generated AST as well
I also want to be able to select the version of the plugin as well
Fork the Astro playground / just improve it to allow formatting with different prettier-plugin-astro versions
Just use Codesandbox / Stackblitz like regular Astro reproductions
Risks, downsides, and/or tradeoffs
Open Questions
Is it worth the effort of integrating prettier-plugin-astro into the prettier playground so that we can get simple Prettier Doc debugging and AST output?
Detailed Design
Not detailed, but the design I choose is https://prettier.io/playground/ b/c it has Prettier Doc and second format and AST built-in by design:
Help make it happen!
I am willing to submit a PR to implement this change.
I am willing to submit a PR to implement this change, but would need some guidance.
I am not willing to submit a PR to implement this change.
This discussion was converted from issue #261 on December 26, 2023 20:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Background & Motivation
I want to be able to show reproductions of
prettier-plugin-astro
bugs in an easy to use environment. I want to be able to paste an astro snippet, and see the Prettier Doc output, and the generated AST as wellI also want to be able to select the version of the plugin as well
Proposed Solution
Possible solutions
Fork the main Prettier playground at https://github.com/prettier/prettier/tree/main/website/playground and add Astro as a supported parser
Alternatives considered
Risks, downsides, and/or tradeoffs
Open Questions
Is it worth the effort of integrating
prettier-plugin-astro
into the prettier playground so that we can get simple Prettier Doc debugging and AST output?Detailed Design
Not detailed, but the design I choose is https://prettier.io/playground/ b/c it has Prettier Doc and second format and AST built-in by design:
Help make it happen!
Beta Was this translation helpful? Give feedback.
All reactions