Coldfusion syntax highlighting!

It was long overdue, but I setup code highlighting. There is an amazingly easy to install Wordpress plugin called Code For Fun that expands on GeSHi Syntax highlighting. Although Coldfusion wasn’t initially available, it easily added by just dropping in a cfm.php file into the folder, thereafter associating code within [CFM][/CFM] blocks with coldfusion. I redid my earlier Coldspring Injection post with this highlighting and it seemed to work extremely well. It goes a few pixels wider than my layout allows, so further tweaking is required. Either way if you have a Coldfusion Wordpress Blog it’s definitely worth installing.


 
 
 

3 Responses to “Coldfusion syntax highlighting!”

  1. Hey thanks for the heads-up on this, I’m new to the world of wordpress and have been sturggling with the hokey preserve-text-formatting plugin which doesn’t like ColdFusion very much.

    However, where did you find the cfm.php file, or did you code it yourself? As my whole blog has only ColdFusion and SQL code (also bitching and moaning, but that’s a different syntax highlighter) it would be like manna from heaven if you’d point the way to that…

  2. Hey man, after you install the plugin, if you download the GeSHi package from the link above it’ll have the cfm.php file in it. It has an sql.php file in it as well, so should solve all your problems. :)

  3. Thank you Thank you Thank you! I have been trying to get a nice code displayer and this worked BEAUTIFULLY!