• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on More code language options in code bbcode

Matthew Hawley

Well-known member
#1
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!
 

dethfire

Well-known member
#4
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.