Conquer Club

"code"

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

"code"

Postby jleonnn on Sat Oct 24, 2009 4:53 am

What does the tag "code" do?
Major jleonnn
 
Posts: 1808
Joined: Tue Jan 06, 2009 5:11 am
Location: The Communist Republic of Aoria

Re: "code"

Postby Thezzaruz on Sat Oct 24, 2009 5:29 am

](*,) It's not that hard to find the info tbh, have a look in the BBcode Guide and you'll find answers to this and other BBcode questions. I'll quote you the relevant part here.

BBcode Guide wrote:Outputting code or fixed width data
If you want to output a piece of code or in fact anything that requires a fixed width, e.g. Courier type font you should enclose the text in [ code][ /code] tags, e.g.

[ code]echo "This is some code";[ /code]

All formatting used within [ code][ /code] tags is retained when you later view it. PHP syntax highlighting can be enabled using [ code=php][ /code] and is recommended when posting PHP code samples as it improves readability.
User avatar
Lieutenant Thezzaruz
 
Posts: 1093
Joined: Mon Feb 04, 2008 2:10 pm
Location: OTF most of the time.

Re: "code"

Postby jleonnn on Sat Oct 24, 2009 5:58 am

thnx
Major jleonnn
 
Posts: 1808
Joined: Tue Jan 06, 2009 5:11 am
Location: The Communist Republic of Aoria


Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users