Details

Version 0.1.0
Last updated 4th October 2007
Requirements
Changelog
0.1.0
  • Initial verison

I was just writing my first post about Flex which required some code examples in MXML and I found that currently GeSHi (Generic Syntax Highlighter) doesn’t have a MXML language file, and I couldn’t find one when I did a few searches.

So using the XML language file as a base I quickly knocked together this rudimentary MXML language file for GeSHi. It should do all the basics, but I’d like to be able to switch languages with GeSHi in the middle of a file, e.g. in MXML it would be nice if GeSHi would allow me to say when it hits <mx:Script> switch to the Actionscript language.

Speaking of Actionscript, I’ve noticed that there is an AS2 language file for GeSHi, but not an AS3 one - I’ll probably do one of these, using the AS2 one as a base, if the need arises.

Next Steps

Leave a Tip

If you find this code useful you can leave a donation towards the continued development & support.

Comments

There have been 3 comments so far, join the discussion.

1. Jordi Boggiano - 15th Dec 2007 - 10:44 am

Heya, just wanted to let you know I did an AS3 language file, available on my code repository

2. ryan - 15th Apr 2008 - 10:14 pm

thanks dude… and thanks jordi

3. BenBE - 13th Jun 2008 - 6:11 pm

An AS3 language file has recently been added in the latest GeSHi v1.0.7.22 release. Thanks for the input for this language!

BenBE.

Leave a comment

No HTML please, only textile. For code please use [lang]...[/lang] tags (e.g. [html]...[/html] for HTML)