Mel Board - Can We Have Syntax Highlighting?

Hey this goes out to the admins and preferably Joojaa. But to make it a discussion I'd like to have it public:

Seen http://pastebin.com ? They have pretty cool syntax highlighting for a vast Range of languages but MEL. Now my Idea is: why cannot we have something like this in here? Of course the website does not only feature Maya Mel. But in this very section there is nothing else in the [ code] tags!

Of course it would be very cool to have the common commands and procs highlighted. But //comments would do as well!

So is it possible somehow?

I'd also like to see that.

But currently the entire forum seems to have some other problems (special characters, strange behaviour for some users, ...)

Maybe we can provide pastebin a mel template.

Admin is a bit preoccupied with some other stuff at the moment. Anyway you can have syntax highlighting allready if you wish? I can wiret a gerasemonkey script to do this for you if you wish? But im off to a holiday so thsi will have to wait.

Ill talk to gmask about this, but our hands a re a bit tied here.

Good idea, it never came to my mind to alter the browser. I'd be thankful if you provide us with such a script.

can you execute own processes on your servers? I'm thinking about apache/php -> file.mel -> scite -> file.html -> apache/php -> browser or pipe it through directly, or maybe there are already some coloring modules out there.

Have a good time.

I don't have acces to the server itself, but yes once we have a code rhar does what we need its not hard to convert it in.

However i do use a few highend altering greasemonkey scripts that i need to polish before release.

I've seen there is syntax highlighting for sql and html available through bb-code tags. Maybe one can add such a thing to [mel] too shrug

but of course it would be much cooler if it would work on all [code]-tags in here. Either this or the code button turned to a [mel]-button.. But I guess these are all a little to complicated illusions

greasemonkey? how does that work? I just installed it but ... I just didn't find anything useful for it by now.. But I bet there is! :]

I think its actually better if its on the local machine, because then you could have buttons for linenumber expression analysis, execute in maya etc.