"Web-Stack" developer with a focus on accessibility design and development patterns, data visualization and DevOps automation.
Fell in love with Node, JS, SPA's and the JAMStack. Bye LAMP.
While I am also a big fan of Prettier, I can't personally recommend is as I had many headaches using it with some static site generators that use HTML markup inside .js/.ejs files. Beautfy has .ejs file support and can format HTML markup inside .js-based templating files.
"Web-Stack" developer with a focus on accessibility design and development patterns, data visualization and DevOps automation.
Fell in love with Node, JS, SPA's and the JAMStack. Bye LAMP.
Prettier should be on the list as well
Hey Manish,
While I am also a big fan of Prettier, I can't personally recommend is as I had many headaches using it with some static site generators that use HTML markup inside
.js/.ejs
files. Beautfy has .ejs file support and can format HTML markup inside.js
-based templating files.Al have you tried the latest version of Prettier?
No, but after seeing your comment I checked the changelog and it appears they have support for HTML template literals!
I'll give it another look if I can get my proper formatting inside
.ejs
files!