Syntax Highlighting on GitHub

Monk in Exile david.bovill at gmail.com
Wed May 7 17:52:06 EDT 2014


Wouldn't it be lovely to have great syntax highlighting for LiveCode on
GitHub? So may languages listed and not Livecode? Digging around I found
out that the library GitHub uses is pygments:

   - http://pygments.org/#contribute
   - http://pygments.org/languages/

and to write a parser you need to grok:

   - http://pygments.org/docs/lexerdevelopment/

and the code is hosted here:

   - https://bitbucket.org/birkenfeld/pygments-main

If we got LiveCode added as a language we'd not only have syntax
highlighting in gitHub but also Trac, and our own code snippets hosted
local our sites. Anyone written one of these things before?



More information about the Use-livecode mailing list