GitHub / MaxScript syntax highlighting

GitHub / MaxScript syntax highlighting

Anonymous
Not applicable
847 Views
0 Replies
Message 1 of 1

GitHub / MaxScript syntax highlighting

Anonymous
Not applicable

Afternoon all,

 

It's been a good 5 years or so since I used to frequent these forums, so nice to be back albeit briefly.

 

I've just put all the MaxScripts I've written from 2001 to 2008 on GitHub. For those that don't know what that is, it's pretty much the standard place these days for publishing and sharing your Open Source code:

 

 

There's quite a lot to go through, so here it is as various WordPress posts (used to be Keyframes and Code😞

 

 

(I'll be linking to the individual repo folders as I go through them over the next wee while).

Anyway - the main reason I'm here is because currently GitHub does not support MaxScript syntax highlighting, but it turns out they can.

 

I wrote to GitHub support to find out how to do it, and it turns out that it's done using an Open Source syntax highlighting engine written in Python called Pygments:

 

 

I've opened an issue in their tracker to see if they'll create a syntax highlighter for MaxScript:

 

 

However, if it turns out they don't provide language support themselves, is there anyone on this forum who might be interested in investing a bit of time to write a syntax highlighter?

I actually have no idea how hard it would be, but presume it's probably fairly standardised, or there might be a similar language that already exists and could be canibalised.

Thassit really. Would be great for both the MaxScript and GitHub communities if someone could, and would like to, help.

Cheers,
Dave

0 Likes
848 Views
0 Replies
Replies (0)