How can I highlight java code via CSS?
Question
I saw some cool code highlighting that looked like code in Eclipse, however I can't find it. :( Do you know any cool java code highlight css?
Solution
I think you want code-prettify
Supports a bunch of different languages (including Java). Here are the docs/examples.
OTHER TIPS
You might want to look at SyntaxHighlighter
I've used GeSHi once, and it was OK, but it's not that I've tried any other and compared them.
I use code2html for my own website. However, as the "official" version does not support CSS, I use my own version, instead. This patched CSS-enabled version can be downloaded on my website.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow