Syntax Highlighting with TinyMCE

At some moment GeSHI and CMS Made Simple became incompatible and in order to bring back syntax highlighted source code snippets to the front end of CMSMS, I created a TinyMCE plugin “hljs”. The plugin is derived from the “codehighlight” plugin by Nawaf M Al Badia.

The actual syntax highlighting is done by the Javascript tool “highlight.js”, see

The reason for choosing “highlight.js” over the famous “SyntaxHighlighter” is it’s ability to auto-detect the source code language. For snippets that are too small for the auto-detection to work properly or just to be sure you can set the language manually in the popup.

To read more and download the TinyMCE plugin, please go to:


No Comments

Be the first to start the conversation.

Geef een reactie

Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>