Syntax Highlighter

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
trinobi
Registered User
Posts: 8
Joined: Fri Nov 27, 2009 4:53 am
Location: Sài Gòn
Name: Tri NoBi
Contact:

Syntax Highlighter

Post by trinobi »

I'm looking for an extension that replace the Syntax Highlighter mod. Codebox Plus is the same but it use different tag. Ex:
Syntax Highlighter: [csharp][/csharp]
Codebox Plus: [codebox=csharp][/codebox]
PICnico
Registered User
Posts: 13
Joined: Tue Oct 28, 2014 8:26 pm
Contact:

Re: Syntax Highlighter

Post by PICnico »

Hi, I'm looking also for such extension :roll: Why is php the only highlighted syntax? I need C, C++, Assembler and Java (maybe) for example.
marcovo
Registered User
Posts: 239
Joined: Fri Nov 16, 2012 12:19 pm
Location: The Netherlands
Name: Marco

Re: Syntax Highlighter

Post by marcovo »

PICnico wrote:Why is php the only highlighted syntax?
That one I can answer; that's because PHP has a built-in php highlighter, so it's relatively easy to implement a bb-code for that, opposed to other languages. ;)
User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2737
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: Syntax Highlighter

Post by kinerity »

There are no events to modify the code BBCode that I'm aware of. I looked into this during the RC stage and ended up adding some custom coding to incorporate GeSHi highlighting on my forums.
Kailey Truscott - Community Team
GitHub repositories (including un-released extensions)
trinobi
Registered User
Posts: 8
Joined: Fri Nov 27, 2009 4:53 am
Location: Sài Gòn
Name: Tri NoBi
Contact:

Re: Syntax Highlighter

Post by trinobi »

The temporary solution here.
Post Reply

Return to “Extension Requests”