We now support Auto-formatting and code clean up!
This feature was a long time pending…but finally, it is here!
Liveweave now supports auto-formatting and code clean up for HTML, CSS, and JavaScript!
For example, to “tidy” up and auto-format the HTML code, make sure the cursor is inside the HTML window and then select “Tidy and format HTML-only” from the “Tools” menu on the top. To auto-format all HTML, CSS and JS code, simply click the “Tidy All” button on the top (near the “Save”). That’s it!
I like the Tidy feature in jsfiddle, and I now mainly use LiveWeave, so I have missed it until now. Thanks.
My button that worked a few days ago, now can’t find the callback function. All of my old projects have the same problem now too. I see that the js is now wrapped in an IIFE.
Here is the link to my button. https://liveweave.com/DpgxFR
Hi Joel,
Thank you for pointing that out! Please try now, and let us know if you find any issues.
– Liveweave Support