Reputation: 25659
I have a simple idea for a small web application that I'd like to build out, but it requires syntax highlighting in the same manner that Pastie does. I was wondering if anybody knew what library (jQuery, Prototype, any) was used in the frontend, and/or which (if any) plugins/gems were used in the backend.
For reference, you can find an example of the syntyax highlighting here.
Upvotes: 4
Views: 385
Reputation: 5767
I've tried Radiograph which seems to work well using ultraviolet. Ultraviolet requires Textpow and Oniguruma.
There is also tm_syntax_highlighting which wraps Ultraviolet too.
Upvotes: 4
Reputation: 9964
According to http://blog.pastie.org/2008/11/refactoring-pastie-lessons-learned.html the Ultraviolet gem (http://ultraviolet.rubyforge.org/) is used.
Upvotes: 2