Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pug files support #36

Open
ajimix opened this issue Jun 27, 2021 · 1 comment
Open

Add Pug files support #36

ajimix opened this issue Jun 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ajimix
Copy link

ajimix commented Jun 27, 2021

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 ajimix added the enhancement New feature or request label Jun 27, 2021
@ajimix
Copy link
Author

ajimix commented Jun 27, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants