[RFC] GeSHi highlighting
Re: [RFC] GeSHi highlighting
Just a suggestion; there is Prettify too...
Re: [RFC] GeSHi highlighting
I believe that won't be accepted because it works in the client side (js).
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] GeSHi highlighting
What's wrong with client-side highlighting?brunoais wrote:I believe that won't be accepted because it works in the client side (js).
- Erik Frèrejean
- Registered User
- Posts: 207
- Joined: Thu Oct 25, 2007 2:25 pm
- Location: surfnet
- Contact:
Re: [RFC] GeSHi highlighting
+1brunoais wrote:I say that this is what I'd call a great extension.
I think the overhead of this does not make it worthwhile for the core. Many forums that run phpBB are forums related to coding, right.
I still believe that that is not enough to have such feature in the core.
So, -1 for core. Great as an extension
(technical stuff under this)
This is something very easy to place. This is just something that processes text.
Having that into account, I believe we just need to insert geshi into the BBcode parser (the part before displaying the post).
A nicely placed event will make the extension making simple enugh.
Available on .com
Support Toolkit developer
Support Toolkit developer
Re: [RFC] GeSHi highlighting
Does not work for non js users.callumacrae wrote:What's wrong with client-side highlighting?brunoais wrote:I believe that won't be accepted because it works in the client side (js).
Re: [RFC] GeSHi highlighting
You could argue that this feature is like AJAX, enhances the user experience but everything still works without it.brunoais wrote:Does not work for non js users.
Eric
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] GeSHi highlighting
I wouldn't class syntax highlighting as an essential feature, just an enhancement - it doesn't need to work with JS disabled.
Re: [RFC] GeSHi highlighting
Absolutelycallumacrae wrote:I wouldn't class syntax highlighting as an essential feature, just an enhancement - it doesn't need to work with JS disabled.
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] GeSHi highlighting
DavidIQ wrote:+1 for being kept as an extension.