Hello folks,
I only want to display (not execute) java code on a java tutorial website coded in RoR. Is there any plugin or method how i can display the java code with syntax highlighting on a RoR html site?
Hello folks,
I only want to display (not execute) java code on a java tutorial website coded in RoR. Is there any plugin or method how i can display the java code with syntax highlighting on a RoR html site?
Hello folks,
I only want to display (not execute) java code on a java tutorial website coded in RoR. Is there any plugin or method how i can display the java code with syntax highlighting on a RoR html site?
Ultraviolet (http://rubyforge.org/projects/ultraviolet/) can syntax
highlight java among other things.
Fred
surround it with HTML pre tags [?] <pre> code </pre>
Another option, might be easier to integrate and/or maintain: http://code.google.com/p/syntaxhighlighter/