syntax highlighter (client side)?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

syntax highlighter (client side)?

sebastianconcept@gmail.co
Hi there,

how you guys do syntax highlight?

Any highlighter to recommend?


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: syntax highlighter (client side)?

HaiColon
Hi,

I've tried highlight.js ( http://softwaremaniacs.org/soft/highlight/en/ ) and jQuery.Syntax ( http://www.oriontransfer.co.nz/software/jquery-syntax/index.en ). Both come with Smalltalk syntax highlighting out of the box. The results are rather disappointing though since JavaScript knows pretty much nothing about the code it has to highlight and therefore only highlights a small portion of the code, which is why I've moved to server side syntax highlighting with Lukas Renggli's ShoutPier ( http://www.piercms.com/doc/add-ons#237655721 ), but using server side highlighting isn't always possible of course. You can use ShoutPier on non-Seaside/Smalltalk website's though by using it to output HTML code that you then paste on your website manually.

Cheers,
Chris

On Sat, Nov 13, 2010 at 6:41 PM, Sebastian Sastre <[hidden email]> wrote:
Hi there,

how you guys do syntax highlight?

Any highlighter to recommend?



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside