MyBB Community Forums

Full Version: Syntax Highlighting (GeSHi)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: 29dfwqr.png]
I am making a syntax highlighting plugin using GeSHi.

I am well aware that their are already two GeSHi plugins out there, the reasons I'm making my own are the following:

  1. Neither of them are well documented
  2. Both of them use inefficient code
  3. I wish to add more functionality than them

The current version is 0.1.2.

* Need to fix bug that causes troubles when you're using escaped chars in HTML

The syntax to use this is:

<code>

Common languages this supports:
Someone here released a plugin for that already.

http://community.mybboard.net/thread-41333.html
Quote:I am well aware that their are already two GeSHi plugins out there, the reasons I'm making me own are the following:
Apology for not reading your thread thoroughly. Good luck to you.
Thank you very much.
GeSHi is rather slow from my tests - any plans to add caching?
(2009-10-23, 12:47 AM)Yumi Wrote: [ -> ]GeSHi is rather slow from my tests - any plans to add caching?

That would be a very need feature!
It'd definitely be a good feature, I'll seriously think about adding it in the first stable release.

My only concern would be how to keep the [code=] tag in the post, it might require changing some core files I think.
(2009-10-23, 10:46 AM)duyen Wrote: [ -> ]It'd definitely be a good feature, I'll seriously think about adding it in the first stable release.

My only concern would be how to keep the [code=] tag in the post, it might require changing some core files I think.

This is a bad point if you need to change core files :/

Also looks a very good plugin, with cache handlers Smile