Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax-highlighted codes 4

Status
Not open for further replies.

Kirsle

Programmer
Jan 21, 2006
1,179
US
How does KevinADC get his codes to be syntax highlighted? He's probably using some kind of external thing that generates the UBB color and link codes.

I know he prolly wants to be unique and be the only one with the cool-looking code tags, but how do you do it? Code formatted that way should be used more frequently, not just because it's cool, but because all the perlfuncs get links directly to their manpages so people don't have to make an extra stop to Google to find out what quotemeta does, for example.

:)

-------------
Cuvou.com | The NEW Kirsle.net
 
Everyone is welcome to use it, but it's just a module I hacked up for fun and personal use so there is no guarantee it will always be available at that URL.

It's designed only for perl code and only for adding TGML code for posting here when desired. So don't try highlighting PHP or HTML or other languages with it. The results will probably be strange to say the least.

It's been tested only so much, so if anyone finds a bug in the output post any comments here. I know sometimes barewords or hash keys are parsed as functions if the name is the same as a builtin perl function but I don't plan on trying to fix that.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top