Created
February 22, 2010 06:53
-
-
Save nikhilm/310877 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The language list was generated using the following lines of Python | |
from pygments.lexers import get_all_lexers | |
import json | |
xs = [ (x[0], i) for i, x, _, _ in get_all_lexers() ] | |
xs.sort() | |
f = open('file', 'w') | |
json.dump(xs, f) | |
# and pasting the file into snip.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment