mako icon indicating copy to clipboard operation
mako copied to clipboard

Is there a mako+html formatter?

Open trusktr opened this issue 2 years ago • 2 comments

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 avatar Feb 29 '24 01:02 trusktr

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

trusktr avatar Mar 11 '24 21:03 trusktr

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

zzzeek avatar Mar 11 '24 23:03 zzzeek