That's why I suggested to use a syntax highlighting which can be adapted to the forum styles, instead of using fixed colors. This way one could have styles which show different colors for syntax highlighting, and styles which don't. Would that be sufficiently user configurable?
We already have syntax highlighting in the wiki, so you can see what it looks like - does anyone oppose this highlighting in the wiki? The wiki plugin uses GeSHi, which is also available as a PHPBB plugin and works just as I described in my post above. The colors are applied via CSS and can thus be adapted to the different forum styles.
Better Code Highlighting
Re: Better Code Highlighting
All we need is a set of css styles matching each forum theme, where most of the themes could probably be served by a single css style.
Most browsers also allow CSS overrides, so you can style away all you want.
Most browsers also allow CSS overrides, so you can style away all you want.
Learn to read.
- Owen
- Member
- Posts: 1700
- Joined: Fri Jun 13, 2008 3:21 pm
- Location: Cambridge, United Kingdom
- Contact:
Re: Better Code Highlighting
Thats a phpBB2 plugin.XenOS wrote:That's why I suggested to use a syntax highlighting which can be adapted to the forum styles, instead of using fixed colors. This way one could have styles which show different colors for syntax highlighting, and styles which don't. Would that be sufficiently user configurable?
We already have syntax highlighting in the wiki, so you can see what it looks like - does anyone oppose this highlighting in the wiki? The wiki plugin uses GeSHi, which is also available as a PHPBB plugin and works just as I described in my post above. The colors are applied via CSS and can thus be adapted to the different forum styles.
- xenos
- Member
- Posts: 1118
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Better Code Highlighting
I'm not familiar with PHPBB versions and which plugin works on which version... But anyway, isn't there something similar for the version used here?Owen wrote:Thats a phpBB2 plugin.