You can declare your post has code by using the "insert code block" feature in the editor. The insert code block editor feature initially posts the code locally as unformatted, but after you submit it to the server it will be color coded etc to all users. Dressing up the code etc on the client (what the user who posts sees) before it is posted to the server is something we'll look at in the future.
Community Forums Program Manager