How do I format my code blocks?
How can I easily paste code into my questions so that it displays EXACTLY as it does in my local files? I'm asking because when I try and post a question, I have to indent each line by four spaces, which doesn't allow me keep the original formatting of my code, not to mention that other members always mention that my code is not formatted correctly.
First, is there a way that I could be doing this better, and if not, any ideas on how this could be improved, or made easier?
(I was recommended by another member to post this question here.)