Pel
2008-May-05 07:36 UTC
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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-May-05 09:14 UTC
Re: Plugin for displaying Java Code with Syntax Highlighting in a RoR website?
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> > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Roger Pack
2008-May-05 13:20 UTC
Re: Plugin for displaying Java Code with Syntax Highlighting in a RoR website?
surround it with HTML pre tags [?] <pre> code </pre> On Mon, May 5, 2008 at 1:36 AM, Pel <Liquidc4D-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andy
2008-May-05 20:08 UTC
Re: Plugin for displaying Java Code with Syntax Highlighting in a RoR website?
Another option, might be easier to integrate and/or maintain: http://code.google.com/p/syntaxhighlighter/ On May 5, 2:36 am, Pel <Liquid...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---