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

XF 1.2 More Programming languages for [code]

#1
My website is heavily revolved around programming, and I want other users to be able to post their code for everyone to view. I'd like for more languages than just "General Code", "PHP", and "HTML" to be available. Is there a way to provide syntax highlighting for Python, C++, C#, etc...?

I'm guessing I'm looking for a mod. Basically, we can use [php][/php] to make PHP code, but not [python][/python] or [c][/c] or [cpp][/cpp] to make other languages. Is there a mod like this?
 
Last edited:

EQnoble

Well-known member
#2
My website is heavily revolved around programming, and I want other users to be able to post their code for everyone to view. I'd like for more languages than just "General Code", "PHP", and "HTML" to be available. Is there a way to provide syntax highlighting for Python, C++, C#, etc...?

I'm guessing I'm looking for a mod. Basically, we can use [php][/php] to make PHP code, but not [python][/python] or [c][/c] or [cpp][/cpp] to make other languages. Is there a mod like this?
http://xenforo.com/community/resources/geshi-syntax-highlighter.89/

You want that, and welcome to the community.