How do I highlight text in a [code] tag?

How To's, Questions, and Solutions for problems. This covers anything from computer hardware problems to software recommendations to tutorials for various software programs.

Note: Neither Gametoast nor any of its members/visitors are responsible for any damage to your computer as a result from advice given in this forum. Follow advice at your own risk and be sure to back up any important files.

Moderator: Moderators

Post Reply
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

How do I highlight text in a [code] tag?

Post by jedimoose32 »

I've seen others do it and I've tried a bunch of different things with no success. My current understanding, based on the BBCode formatting guide, is that the code tag needs to be modified for php highlighting.

Code: Select all

[code=php]some code
[/code]
But I don't know what to do from there to actually highlight the code.
Twilight_Warrior
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2002
Joined: Sat Nov 15, 2008 1:57 pm
xbox live or psn: ScorchRaserik

Re: How do I highlight text in a [code] tag?

Post by Twilight_Warrior »

I don't personally know how to do it, but I do know that if you quote a post that has stuff highlighted in a

Code: Select all

 tag, it should just straight up show you what they did to do it themselves.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: How do I highlight text in a [code] tag?

Post by jedimoose32 »

Good idea. Now to find one... :P
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: How do I highlight text in a [code] tag?

Post by Anakin »

There was something like that in the Feed back thread. But theire was a reason, why guru hadn't add syntax highlighting to the code tags. But i don't know the reason now. You need to have a look at the feedback thread.
Post Reply