Prettier TailwindCSS plugin

I believe rescript uses a prettier under the hood to do styling. Does that mean it is possible to use the Prettier Tailwind Plugin?

I tried adding it but doesn’t seem to work plug-n-play

ReScript isn’t using Prettier, it has its own native formatter.

I agree this functionality would be nice, and I’ve leveraged Prettier in ReScript (sort of) for formatting embedded GraphQL text. It’s definitively possible to get the Prettier Tailwind functionality somehow, but unclear how much effort it would take.

If anyone is interested in trying to get this sorted, in any form really, I’d be happy to throw some ideas around.


I could look at it this weekend. Mind telling me more about your existing experience with it?

did you find a solution for this? I would also like it