« Wiki Madness - Free has never been easier | Main| Last Day for Wiki Madness! »

I found something.... Code Syntax Highlighting

Category LotusScript
The other day I found a link to this site that has a jQuery plug in for Code Syntax highlighting.

Now we've had LotusScript syntax highlighting for a while with Julian Robichaux's great LS2HTML code, but that's written in LotusScript and this is jQuery and MIGHT have better potential to integrate with XPages or Wiki's. (Have you wiki'd today?)

LotusScript is NOT on the list yet, but I emailed the person and he's willing to add it for us I think.  I just need to try and tell him the syntax for LotusScript..  Not sure how to answer that question yet.

BUT

on poking around I also found this site:

Quick Highlighter

This doesn't seem to be a plug in potential like the jQuery site, BUT this has many more languages that you can choose on the left via a dropdown,  including LotusScript and @Formulas!

How cool is that?
 

Comments

Gravatar Image1 - You should check out SyntaxHighlighter ( { Link } )

All self contained, no jQuery requirements. Add 'brushes' for each language you need to display on the page.

Would be an easy job to write a lotusscript brush, even a XSP brush...

Gravatar Image2 - Hi Declan,

One of the reasons to use jQuery.Syntax over SyntaxHighlighter is its interoperability with other code, and the ability to customize its behavior using standard jQuery semantics.

jQuery.Syntax is also designed to be much faster and more efficient that SyntaxHighlighter. It dynamically loads source code as required, which reduces load time, unlike SyntaxHighlighter which has no built-in mechanism like this.

There are many other benefits to using jQuery.Syntax, so you should check out the project page.

{ Link }

Gravatar Image3 - I've found an informative video on Syntax Highlighting with WordPress. Hope it will be of good help for someoneEmoticon

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Powered By:

Domino BlogSphere
Version 3.0.2