Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I highlight java code via CSS?

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?

like image 318
IAdapter Avatar asked Feb 27 '09 22:02

IAdapter


3 Answers

I think you want code-prettify

Supports a bunch of different languages (including Java). Here are the docs/examples.

like image 99
ogrodnek Avatar answered Nov 06 '22 05:11

ogrodnek


You might want to look at SyntaxHighlighter

like image 41
David Schlosnagle Avatar answered Nov 06 '22 05:11

David Schlosnagle


I've used GeSHi once, and it was OK, but it's not that I've tried any other and compared them.

like image 1
Slartibartfast Avatar answered Nov 06 '22 07:11

Slartibartfast