Posting code in a work log

Community Forums/General Help/Posting code in a work log

Aussie(Posted 2012) [#1]
Gday all.
I have just started a work log & was wondering if it is possible to post code in it?
I have just tried the same way you would in other parts of the forum but it just spits everything out everything in a single line.
Cheers