Part of the Tips 'N Tricks" series.
This is the first post of the new series. Not exactly a platform TNT, but something helpful nonetheless for users looking for help here on the Community. If your post includes code, please post it as formatted text and not just a screenshot. I'll admit to have passed by a couple posts because it only included a screenshot and I was not about to re-type everything from scratch to help out. Maybe I'm getting lazy?
It's easy to do. In the "Description" field, click on the icon in the toolbar:
A popup window will appear. Select the appropriate "Language" option and then paste the code in the text box:
The code will then appear nicely formatted, making it easy for others to read, copy and modify to help you out:
(function() {
//this is just a sample block of code
})();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.