prettier-plugin-tailwind icon indicating copy to clipboard operation
prettier-plugin-tailwind copied to clipboard

Add Pug files support

Open ajimix opened this issue 4 years ago • 1 comments

Would be great to add support for Pug .pug files.

There is already a prettier-pug plugin which works great. But it doesn't do anything with Tailwind

ajimix avatar Jun 27 '21 16:06 ajimix

Seems to be possible to be done easily as the official prettier-pug plugin has a parser

import prettierParserPug from '@prettier/plugin-pug'

prettierParserPug.parsers.pug.parse

But I didn't manage to get it working with this extension :( the pug code never gets handled by this extension for some reason.

ajimix avatar Jun 27 '21 18:06 ajimix