This project is read-only.
This project allows users to highlight code syntax using the SharePoint 2010 ribbon UI. It utilizes Alex Gorbatchev's SyntaxHighlighter Project ( on the client side, alongside some simple server side code.

In this project, it is targeting SharePoint 2010 Blog Posts specifically, as we wanted to allow users to insert code in their blog entries, and have the syntax coloured and formatted nicely. We chose an initial list of languages (see the SyntaxHighlighterRibbonAction module), but refer to Alex Gorbatchev's site for a full list of supported languages which could be utilized with some simple javascript includes and some small modifications to the SharePoint module.

NOTE: editing has only been tested in IE9; viewing should work cross-browser no problem.

Please let us know if you have any issues/comments/questions regarding this code!

Last edited Sep 10, 2012 at 6:05 PM by slcodeshare, version 2


No comments yet.