Add-on More code language options in code bbcode

Matthew Hawley

Well-known member
You know when you click the code icon in the redactor toolbar, the overlay box comes up, and there is a drop down menu with "general code", "php", and "html"? I want to extend that. Here is the list of languages I would like, though It would be awesome if you can add them individually in the admin control panel.

I want all of the languages that are compatible with Geshi Syntax highlighter, you can find them here; http://qbnz.com/highlighter/ (scroll down and look at the left).

But I mainly want these languages for now:

Java
Javascript
XML
Python
Perl
Ruby
Ruby on Rails
Cold Fusion
ASP
.NET

I also need the output of these to be, for example, [ code=ruby ] or [ code=rails]

Thanks!
 
The digitalpoint addon is nice, but it doesn't add the languages to the drop down list. Members have to do this manually which means it rarely gets used.
 
Back
Top Bottom