mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Added JSON to list of lexer
This commit is contained in:
parent
8825ef0930
commit
709bb9dff4
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ Changelog
|
|||
- 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
|
||||
template rather served as plain text. This was added to hinder abuse.
|
||||
- Added "Json" to the list of lexers.
|
||||
|
||||
3.1 (2019-05-16)
|
||||
----------------
|
||||
|
|
|
@ -354,7 +354,7 @@ class dpasteAppConfig(AppConfig):
|
|||
# ('js+php', 'JavaScript+PHP'),
|
||||
# ('js+smarty', 'JavaScript+Smarty'),
|
||||
# ('jsgf', 'JSGF'),
|
||||
# ('json', 'JSON'),
|
||||
('json', 'JSON'),
|
||||
# ('json-object', 'JSONBareObject'),
|
||||
# ('jsonld', 'JSON-LD'),
|
||||
# ('jsp', 'Java Server Page'),
|
||||
|
|
Loading…
Reference in a new issue