This project allows users to highlight code syntax using the SharePoint 2013 ribbon UI. It utilizes Alex Gorbatchev's SyntaxHighlighter Project ( on the client side, with no server-side code.

In this project, it is targeting SharePoint 2013 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, 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 IE10; viewing should work cross-browser no problem.

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

Last edited Apr 10, 2013 at 10:45 PM by slcodeshare, version 1


No comments yet.