# Mel Board - Can We Have Syntax Highlighting?

**URL:** https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057
**Category:** Maya
**Tags:** mel
**Created:** [July 30, 2007, 4:00pm UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057 "2007-07-30T16:00:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [July 30, 2007, 4:00pm UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/1 "2007-07-30T16:00:44Z")

</div>

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](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?

---

<div class="post-metadata">

### Author: ![daniel-faust](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@daniel-faust](https://forum.highend3d.com/u/daniel-faust)
#### Post date: [July 30, 2007, 8:32pm UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/2 "2007-07-30T20:32:37Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 30, 2007, 8:54pm UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/3 "2007-07-30T20:54:47Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![daniel-faust](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@daniel-faust](https://forum.highend3d.com/u/daniel-faust)
#### Post date: [July 30, 2007, 9:02pm UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/4 "2007-07-30T21:02:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 31, 2007, 8:02am UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/5 "2007-07-31T08:02:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ewerybody](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/e/bcef8e/32.png) [@ewerybody](https://forum.highend3d.com/u/ewerybody)
#### Post date: [July 31, 2007, 8:20am UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/6 "2007-07-31T08:20:33Z")

</div>

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! :]

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 31, 2007, 9:47am UTC](https://forum.highend3d.com/t/mel-board-can-we-have-syntax-highlighting/2057/7 "2007-07-31T09:47:02Z")

</div>

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.
