-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
@prettier/plugin-pug support #951
Comments
It seems I got it to work with the |
The problem is that up until recently Pug did not support Svelte templates. I'm not sure if this changed yet. @Shinigami92 might know more, he got in contact with us recently trying to add support. If it does work now, we need to update |
HELLO 👋 😃 finally there is someone out there with a real world svelte example!! we are exactly looking for you! Please create an issue in my repo https://github.com/prettier/plugin-pug/issues/new?assignees=&labels=&template=bug-report.md&title=Bug%3A+ and copy paste your example there Then I can start working on improved svelte support But yes, it could be due to missing support in |
thank you for getting back, prior to posting here I already had tried the I made a repo with all the information and troubleshooting I have so far. I also ran into some issues with |
Hello, sveltejs/prettier-plugin-svelte#57 seems to be different than what I encountered. In that issue, the author is trying to use I will debug |
newest prettier-plugin-svelte version supports formatting pug with its plugin, if provided sveltejs#951
newest prettier-plugin-svelte version supports formatting pug with its plugin, if provided #951
If you install |
Hello,
Thank you for svelte. My current workflow is vue, and I have been happily using
prettier-eslint
with vscode to format all my pug templates. I decided to explore svelte last night but had some issues with the environment config.I used
preprocess
to enable pug compiling and that was smooth, but for some reason I'm not able to get prettier to formatpug
templates. I tried a few things including invoking prettier from the cli and it also wouldn't format thepug
template. If you could shed some light I will surely appreciate it.Is what I'm trying to do is supported?
The text was updated successfully, but these errors were encountered: