0
101 Jan 06, 2009 at 03:54

Hi there…

I was woundering if you guys have a hidden BBcode for formating code ….

Liek GeSHi or somthing.. so when postign code on teh forum it is proprly colour coded and cormated?

Example:- Say like http://pastebin.com/

There are other forums that have tehse function… it is not a problem.. i just thought mabey this feature wsa already hear but i do not know how to acess it.,..

I have tried [code=”C++”] stuff like that but nothing. [code=C++] stuff like that but nothing. [code=”C++”] stuff like that but nothing.

#### 4 Replies

0
167 Jan 06, 2009 at 04:29

it’s just …[/code[b][/b]]. You can find a list of the markup tags for the forum [url=http://www.devmaster.net/forums/misc.php?do=bbcode]here[/url]. [code]…[/code**]. You can find a list of the markup tags for the forum here.

0
101 Jan 06, 2009 at 04:55

@Reedbeta

it’s just …[/code[b][/b]]. You can find a list of the markup tags for the forum [url=http://www.devmaster.net/forums/misc.php?do=bbcode]here[/url].[/QUOTE] Yea, i have seen this page.. and teh [code] options dose not have any colour coding in it based on the code used… i was just asking if tehr was a function like this. [code]…[/code**]. You can find a list of the markup tags for the forum here.

Yea, i have seen this page.. and teh options dose not have any colour coding in it based on the code used… i was just asking if tehr was a function like this. [code] options dose not have any colour coding in it based on the code used… i was just asking if tehr was a function like this.

0
101 Jan 06, 2009 at 05:22

It defaults to C++, I think, which is about 98% of the code posted here

0
167 Jan 06, 2009 at 05:22

It highlights based on C/C++ syntax, though I don’t know what other languages are available (if any).

#include <cstdio>

int main (int argc, char ** argv)
{
printf("Hello, world!\n");
return 0;
}