![]() |
Better Syntax Highlighting
We know have a better syntax highlighting system. Before today the only code blocks we had were php, html, and code(which has no highlighting). Today I have gotten Geshi to work with vbulletin and this allows us to be able to highlight many more languages. The current list of of languages is as follows:
Quote:
Quote:
:
:
:
:
:
You can still use the php and html bbcode tags for those 2 languages if you want but you can also now use the new highlight=php or highlight=html4strict tags as well. |
:
|
Thats really useful thanks!
|
Two words: Damn nice!
Only two things I can think of that I don't like, it's the underline and bold text. Imo it should only be coloured and italic text. Maybe one thing more, they have some damn stange colours. :
|
This will help a great deal Kyle, thanks.
|
pretty sweet feature, we should probably make this thread sticky. Or even place a link to it under the link for the forum rules.
|
void what do you mean by bold and underline text? The stuff that is underline is normally a link. go up and click on them and they bring you to a page explaining what that command means, it works best for the php commands I have noticed that the java ones just do a google search and the perl ones don't seem to work. I will see what I can do to make sure they work.
|
I found a problem.
It doesn't accept left square brackets properly. It converts it to ascii. And then interprets the pound sign in the ascii as a comment. This has only been tested with Python highlighting. :
Not sure if you have control over being able to fix this though. =S |
yeah sykkn found that before I announced it too. I didn't think it would be this quick before someone else found it but I am currently trying to figure out the problem :) if you do [[ the second one works but the first one gets converted to ascii for some wierd reason.
:
Now it works :D :
|
Request: Ruby
Otherwise: Pretty good. :) |
| All times are GMT -5. The time now is 12:18 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC