![]() |
Added Geshi Syntax Highlighting
To make code easier to read, we have added another aptly named vB hack to TalkPHP. This allows you to specify various languages to highlight. If I can find a comprehensive list then I will list that later.
The syntax highlighting can be used like so: [highlight=language] var myVar = myFunc(myArg); [/highlight] Where language is the name of the language, such as javascript. |
why not just edit the [code] tag? less stuff to remember..
|
Will set up some aliases in due time. Such as [js].
|
php Code:
Brackets don't show [] |
Thanks for pointing that out. Well spotted! Updated Geshi and it seems to be working now. You'll have to re-post your code, though.
Edit: Ignore that, it's still broken! Edit: Voila :) All fixed. |
|
Smashing, Aye? :)
|
Looks good Wild!
( Now how about the buttons that are missing their custom images ;) ) |
Which buttons would those be, Jeff? Do explain yourself! We are re-coding the design, as you may have heard, so it'd be nice to cover all of these.
|
http://www.talkphp.com/images/buttons/reputation.gif
http://www.talkphp.com/images/button...iquote_off.gif http://www.talkphp.com/images/buttons/quickreply.gif http://www.talkphp.com/images/statusicon/forum_link.gif http://www.talkphp.com/images/button...apse_thead.gif http://www.talkphp.com/images/buttons/lastpost.gif All the default forum icons, I'm assuming you meant to use. |
Aha :) Onto those. Thanks a lot for filling me in!
|
I'll post a screenshot when I get home, I'm just at work and don't have the means.
|
| All times are GMT. The time now is 10:45 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0