On Feb 3, 10:37 am, MOLOKO <[email protected]> wrote: > Hi all > > I just installed Pygments so as to get syntax highlighting working... > and it works fine for HTML/XML - but not for JavaScript files... let > alone for ActionScript! > > Any obvious reason why it wouldn't be doing JavaScript syntax > highlighting?
You'll want to make sure that the version of Pygments you are using supports Javascript and Actionscipt. Looks like you need 0.9 or later for Actionscript [1]. I'm on Trac 0.11.4 and haven't set the pygments_modes parameter, but have highlighting of matlab files working with the following mime_map entry: text/matlab:m. Your mime_map entry for actionscript appears to be correct according to [2]. [1] http://pygments.org/docs/changelog/ [2] http://pygments.org/docs/lexers/ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
