[Solar-talk] PHP coloring in Trac

Matthew Weier O'Phinney mweierophinney at gmail.com
Thu Jan 18 11:00:17 PST 2007


On 1/16/07, Clay Loveless <clay at killersoft.com> wrote:
> 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 -- this made my day! Thanks for showing this.

BTW, also works in commit messages and tickets.

-- 
Matthew Weier O'Phinney
mweierophinney at gmail.com
http://weierophinney.net/matthew/


More information about the solar-talk mailing list