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

Is there a mako+html formatter? #392

Open
trusktr opened this issue Feb 29, 2024 · 2 comments
Open

Is there a mako+html formatter? #392

trusktr opened this issue Feb 29, 2024 · 2 comments

Comments

@trusktr
Copy link

trusktr commented Feb 29, 2024

It would be nice to be able to format HTML files containing mako syntax. Without Mako syntax, I can run Prettier on HTML files to get nicely formatted code, but with Mako syntax Prettier fumbles.

@trusktr trusktr changed the title is there a mako formatter? Is there a mako+html formatter? Feb 29, 2024
@trusktr
Copy link
Author

trusktr commented Mar 11, 2024

I installed the following "Better Mako" VS Code plugin for mako syntax support, and it introduces syntax highlighting as well as code formatting (I think it might be VS Code's built-in HTML formatter simply due to the HTML syntax being enabled):

https://marketplace.visualstudio.com/items?itemName=chaojie.better-mako

@zzzeek
Copy link
Member

zzzeek commented Mar 11, 2024

yah, sorry, this is not any area I've seen much in. Pycharm might have had mako formatting but they dropped it.

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

No branches or pull requests

2 participants