Simple and lightweight syntax highlighting of source code snippets using Highlight.js JavaScript library for Joomla. You don't need to add additional markup to source code and neither to specify the language of source code snippets since prettify will guess. Highlight.js extension for Joomla is compatible with WYSIWYG editors and includes several themes to customize the colors and styles of source code snippets. Highlight.js JavaScript library supports all C-like (Java, PHP, C#, etc), Bash-like, and XML-like languages without need to specify the language and has customizable styles via CSS. Widely used with good cross-browser support.

CedPrettify supports 29 languages, once again with strong bias toward programming languages and less support for web design languages. The single URL autoloader allows you to avoid downloading any JS or CSS files and load everything via CDN, which is certainly a quick and easy approach. Being able to skip specifying languages, instead just applying the class prettyprint to pre elements, can also be a time saver.

CedHighlight.js has the largest number of supported languages and themes, by a pretty significant margin, and a great process for downloading a custom build with just the languages you need. Automatic language detection is another very strong feature. With such a massive selection of languages and themes it seems this highlighter would be a fit for just about any use case. Highlight.js includes a huge number of styles (themes), with all 54 bundled in the download, and some of them matching popular IDE themes like Monokai and Railscasts. Given the number of CSS files included you may wish to copy just the themes you’ll be using into your project. The list of languages supported is also massive with over 118 available at present!

Joomla 3.0.4 or higher Joomla 3.1Joomla 3.2

Out of the box, CedHighlightjs for Joomla comes configured to automatically perform syntax highlighting of source code snippets in <pre> or <code> tags on your Joomla pages. Automatic syntax highlighting mode is pretty simple, but powerful at the same time. Several settings can be configured at: Administration - Plugin - CedHighlightjs This will find and highlight code inside of <pre><code> tags trying to detect the language automatically. If automatic detection doesn't work for you, you can specify the language in the class attribute:

<pre><code class="html">...</code></pre>

The list of supported language classes is available in the class reference. Classes can also be prefixed with either language-or lang-. To disable highlighting altogether use the nohighlight class:

<pre><code class="nohighlight">...</code></pre>

22 languages are supported per default

Support is provided only to subscribers. If you already have an active subscription which gives you access to the support. You can request support for it through our site. You will need to log in to our site and go to Support and click on the New Ticket button. If you can't see the button please use the Contact Us page to let us know of the ticket system problem and remember to tell us your username. If you want to report a bug, please use the Contact Us page of our site. You don't need to be a subscriber to report a bug. Please note that unsolicited support requests sent through the Contact Us page will not be addressed. If you believe you are reporting a bug please indicate so in the contact form.

Support cannot be provided over Twitter, Facebook, email, Skype, telephone, the official Joomla! forum or any other method except the Support section on our site. We also cannot take bug reports over any other medium except our Contact Us page and the Support section on our site. Support is not provided to non-subscribers; if you are using the Core version you can request support from other users in Galaxiis forum , the official Joomla! forum or any other Joomla!-related forum in your country/region. We have to impose those restrictions in support to ensure a high level of service and quality. Thank you for your understanding.