[Solar-talk] PHP coloring in Trac

Clay Loveless clay at killersoft.com
Tue Jan 16 15:43:22 PST 2007


Hey guys,

I've been browsing the solarphp.org Trac a bit this afternoon, and  
notice several code samples that could be made more readable with  
syntax coloring.

It's not particularly intuitive to add PHP syntax coloring to a block  
of code, so I thought I'd post to show you guys how it can be done:


{{{
#!text/x-php
<?php
echo "Hello, World!";
?>
}}}


Ugly in the wiki source, but more readable in the resulting wiki  
page. :)

-Clay

--
Killersoft.com





More information about the solar-talk mailing list