Mac How to upload the code?

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
Everytime I upload code for people to see I copy and paste it but it justify's to the left. How do I get that grey box and have my code with the right spacing?

I see other people doing it but I can't find it myself.

Thanks,

-Lars
 

After G

macrumors 68000
Aug 27, 2003
1,589
1
California
The word "CODE" enclosed with brackets to begin, prefixed with a backslash (/CODE) and enclosed with brackets again to end.

Edit: OR you can click on the pound sign in the advanced editing mode.

And I'm slow with the post button again...