Plugin for displaying Java Code with Syntax Highlighting in a RoR website?

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?

On 5 May 2008, at 08:36, Pel wrote:

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 [?]

code

Another option, might be easier to integrate and/or maintain:
http://code.google.com/p/syntaxhighlighter/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs