You can use code formatting and/or highlight tags to make your posted code look "pretty" rather than doing the formatting yourself. You can learn more about that in the Announcement topic at the...