19 October, 2019 edit:
A more detailed guide on how to format—including headers, summaries, and lists (all especially helpful for WIP authors)—can be found here.
How to format your code so it can be seen on the forum.
Paste code into window.
Highlight all of the code.
Click the preformatted text button. (It looks like </> and is next to the quote one and on the same bar as the other formatting and smilies choice.)