Including code in a scrolled box?


I have received replies to my questions that include a scrolled box with code suggestions.

I have been pasting code into my post and replies.

I would like to put the code that goes along with my new thread or reply into a code box, but cannot seem to find this.

Can someone please point me to a help section or tell me how to do from the new post/reply pages?



Near the top right of the Reply box are a hash icon - code, <> - HTML, and PHP icons. There’s also a Select dropdown though ATM it may be a bit buggy.

Or you can write the bbcode tags yourself. ie.

code here
mark-up here
PHP code here


If you’re interested, there’s a whole list of BBcodes SitePoint’s vB install supports over here: SitePoint Forums - BB Code List