You are here: Re: Syntax Highlighting libraries « PHP Language « IT news, forums, messages
Re: Syntax Highlighting libraries

Posted by Schraalhans Keukenmeester on 04/03/07 00:07

Christoph Burschka wrote:
> Are there any free PHP libraries/utility functions that can color the syntax of
> various programming languages (eg. Java and C++)?
>
> I am posting code snippets on my site and would like to know if there is a way
> to easily give them syntax highlighting automatically.
>
> Thanks!
>
There is a PEAR class Text_Highlighter which provides a framework in
which XML based files per language are parsed to highlight code. Not
sure if someone has already build the XML files for the languages you
are looking for. May Google be your best friend!

HTH

Sh

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация