Added JSON to list of lexer

This commit is contained in:
Martin Mahner 2019-06-13 15:40:57 +02:00
parent 8825ef0930
commit 709bb9dff4
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ Changelog
- Added a dedicated "Copy Snippet" button to copy the content to the clipboard. - Added a dedicated "Copy Snippet" button to copy the content to the clipboard.
- Added "View Raw" option to optionally render the 'raw' snippet content with a - Added "View Raw" option to optionally render the 'raw' snippet content with a
template rather served as plain text. This was added to hinder abuse. template rather served as plain text. This was added to hinder abuse.
- Added "Json" to the list of lexers.
3.1 (2019-05-16) 3.1 (2019-05-16)
---------------- ----------------

View file

@ -354,7 +354,7 @@ class dpasteAppConfig(AppConfig):
# ('js+php', 'JavaScript+PHP'), # ('js+php', 'JavaScript+PHP'),
# ('js+smarty', 'JavaScript+Smarty'), # ('js+smarty', 'JavaScript+Smarty'),
# ('jsgf', 'JSGF'), # ('jsgf', 'JSGF'),
# ('json', 'JSON'), ('json', 'JSON'),
# ('json-object', 'JSONBareObject'), # ('json-object', 'JSONBareObject'),
# ('jsonld', 'JSON-LD'), # ('jsonld', 'JSON-LD'),
# ('jsp', 'Java Server Page'), # ('jsp', 'Java Server Page'),