WTB Colored Syntax Highlighting in [code] tags
I'm sure there's a forum plugin for syntax highlighting. I expect we only really need Lua and XML coloring, but maybe Java, Python and HTML if you're feeling ambitious.
Was just trying to put some code tags in my library descriptions and found that it's really hard to read. Might also me interesting if there were a macro syntax highlighting, but you'd most likely have to write the format yourself (or get cladhaire to do it ;)) |
Something like this?
lua Code:
[ highlight=lua ]code[ /highlight ] |
[quote=AnduinLothar;110376]I'm sure there's a forum plugin for syntax highlighting.QUOTE]
There is indeed: - http://www.vbulletin.org/forum/showthread.php?t=93071 It's based on GeSHi: -http://qbnz.com/highlighter/ which supports, well, everything. Apparently the plugin is quite slow for large code blocks (200K+ of text), but maybe it'd still be suitable for use in the WoWi forums? |
Quote:
I don't see any reason to support languages beyond Lua and XML here, honestly. |
Quote:
Anyway, just an suggestion - and response to the original poster! cheers, - Fin |
Love it. Thanks!
|
All times are GMT -6. The time now is 01:56 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI