How can I serve up color-coded Java code using PHP?
Posted
by Eric
on Stack Overflow
See other posts from Stack Overflow
or by Eric
Published on 2010-05-30T11:35:54Z
Indexed on
2010/05/30
11:42 UTC
Read the original article
Hit count: 186
I'd like to embed code from my SVN repository into my website, using PHP. The SVN has public anonymous access, so the PHP code should be fine reading it.
The code on said SVN is java, and so far I've had no luck finding a syntax-highlighter to make the code more readable. Ideally I'd like one that uses CSS classes so that I can change the colors to match the look of the website.
Could someone point me to a PHP library that highlights Java code?
© Stack Overflow or respective owner