I can not find a BBcode for Formating Code?

80c604f76d06a9790d182dcc91efa9aa
0
anewhobby 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

Please log in or register to post a reply.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 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.

80c604f76d06a9790d182dcc91efa9aa
0
anewhobby 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.

46407cc1bdfbd2db4f6e8876d74f990a
0
Kenneth_Gorking 101 Jan 06, 2009 at 05:22

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

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 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;
}