How to Beautify/Prettify the text?


Is there any way to beautify the JS and/or HTML and/or CSS? Text gets messy quite quickly and it’s a pain to just copy/paste to a different editor, only to copy/paste back into Glitch.



Nothing official just yet, but another Glitch user did create this bookmarklet to use prettier:


I’m having trouble with this now, getting this error in the console about violating security policy


Hi @madmaxlax,

Thanks for the report, we recently updated our Content Security Policy on to reduce the risk of XSS and other potential security issues.

We’ll take a look and see if there is a good compromise to allowing 3rd party services while maintaining rigorous security.

Thanks again for reporting this!