Elliott Blatt
2007-Jan-19 00:48 UTC
mephisto syntax highlighting plugin broken with javascript?
Hi, This is a rather narrow question, but, I can not think of a better place to post it.(I thought http://mephisto.stikipad.com/ was a good choice, but it is a wiki and not a forum. (If anyone knows of a good mephisto-specific forum, I would appreciate knowing about it.)) Anyway, my question is this: I installed the code higlighter pluging by Dan Webb via: script/plugin install http://svn.danwebb.net/external/rails/plugins/filtered_column_code_highlighter/trunk/ Then I dealt with the broken install with the excellent assistance of this help: blog.wetonrails.com/2006/10/9/installing-the-codehighlighter Ostensibly, this plug-in provides client-side syntax highlighting for html,css,javascript and ruby. The only problem is that the syntax hightlighting for javascript seems to be broken. Has anybody experienced this problem? I''d be curious to know if any solutions/fixes have been found. Thanks, Elliott -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rick Olson
2007-Jan-19 03:09 UTC
Re: mephisto syntax highlighting plugin broken with javascript?
On 1/18/07, Elliott Blatt <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > > This is a rather narrow question, but, I can not think of a better place > to post it.(I thought http://mephisto.stikipad.com/ was a good choice, > but it is a wiki and not a forum. (If anyone knows of a good > mephisto-specific forum, I would appreciate knowing about it.))There''s a mephisto google group: http://groups-beta.google.com/group/MephistoBlog> Anyway, my question is this: > > I installed the code higlighter pluging by Dan Webb via: > script/plugin install > http://svn.danwebb.net/external/rails/plugins/filtered_column_code_highlighter/trunk/ > > Then I dealt with the broken install with the excellent assistance of > this help: > > blog.wetonrails.com/2006/10/9/installing-the-codehighlighter > > Ostensibly, this plug-in provides client-side syntax highlighting for > html,css,javascript and ruby. The only problem is that the syntax > hightlighting for javascript seems to be broken. Has anybody > experienced this problem? > > I''d be curious to know if any solutions/fixes have been found.Probably going to need more info than ''seems to be broken''. It''s in use successfully on several sites that I know of. -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Elliott Blatt
2007-Jan-19 16:04 UTC
Re: mephisto syntax highlighting plugin broken with javascri
Hi Rick, I found the problem. It was another one of my idiot blunders. I had neglected to include the include line for javascript syntax. The sad part of it is that I looked for this specific problem at least six times, and missed it every single time. I had copied the code and just assumed it was correct. My bad. {{ ''codehighlighter/code_highlighter'' | javascript }} {{ ''codehighlighter/javascript'' | javascript }} <<------I didn''t have this line {{ ''codehighlighter/html'' | javascript }} {{ ''codehighlighter/ruby'' | javascript }} {{ ''codehighlighter/css'' | javascript }} {{ ''codehighlight'' | stylesheet }} Anyway, it all works now. Thanks again, Elliott -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---