diff options
author | Tim Hatch <tim@timhatch.com> | 2014-10-08 18:55:35 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-10-08 18:55:35 -0700 |
commit | 87781e3aa6748b035a822a3a8fdf2cedd53d478b (patch) | |
tree | 85da94f2627df7405c2a989f4e430ddda3bcf9db /pygments/lexers/_mapping.py | |
parent | 6f82393fe38d73ffc2ef61b16722c603e41b6ec2 (diff) | |
download | pygments-87781e3aa6748b035a822a3a8fdf2cedd53d478b.tar.gz |
Add JSON-LD Lexer.
Adapted from PR 289.
Diffstat (limited to 'pygments/lexers/_mapping.py')
-rw-r--r-- | pygments/lexers/_mapping.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index 8ee280ca..6d7c94df 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -176,6 +176,7 @@ LEXERS = { 'JavascriptLexer': ('pygments.lexers.javascript', 'JavaScript', ('js', 'javascript'), ('*.js',), ('application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript')), 'JavascriptPhpLexer': ('pygments.lexers.templates', 'JavaScript+PHP', ('js+php', 'javascript+php'), (), ('application/x-javascript+php', 'text/x-javascript+php', 'text/javascript+php')), 'JavascriptSmartyLexer': ('pygments.lexers.templates', 'JavaScript+Smarty', ('js+smarty', 'javascript+smarty'), (), ('application/x-javascript+smarty', 'text/x-javascript+smarty', 'text/javascript+smarty')), + 'JsonLdLexer': ('pygments.lexers.data', 'JSON-LD', ('json-ld',), ('*.jsonld',), ('application/json-ld',)), 'JsonLexer': ('pygments.lexers.data', 'JSON', ('json',), ('*.json',), ('application/json',)), 'JspLexer': ('pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)), 'JuliaConsoleLexer': ('pygments.lexers.julia', 'Julia console', ('jlcon',), (), ()), |