GeSHi for AS3 and MXML?


I’ve done a little looking around and can’t seem to find any files for adding AS3 and MXML syntax highlighting to GeSHi. For those that don’t know, GeSHi stands for Generic Syntax Highlighter and is a library of PHP scripts that allows for nice source code highlighting/coloring for many different languages when you surround the code with simple HTML elements (e.g <pre lang=”html”>my code</pre>). Actionscript 1/2 is currently supported and so is XML, but as far as I can tell (looking at the Sourceforge site, and doing some Googling), no work has been done on MXML/AS3.

Does anyone out there know differently? If it hasn’t been done yet, I may spend some time getting these going… I think MXML would come together quicky, as it could be made by hacking the XML file a bit… AS3 could be made from the existing AS file, but would require a bit more work.

If you know anything about the status of this work, please comment here. I certainly don’t want to build something that’s already done.

Posted on


1 comment

  1. Jordi Boggiano Nov 30

    I’m not sure if you will ever read this but I created an AS3 language file for GeSHi, and as I found this article while researching one in the first place, I thought I’d let you know.
    It’s available on my website : http://www.seld.be/en/notes/actionscript-3-language-file-for-geshi

Leave a reply