From 1d799fe34de592fa68c1ace37bb63fd76762bb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F?= Date: Mon, 1 Jun 2020 15:59:07 +0300 Subject: [PATCH] feat: add JSON syntax highlighting Using JavaScript highlights for JSON looks confusing as keys and string values are the same color. --- src/utils/highlight.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/highlight.ts b/src/utils/highlight.ts index 1887fcb7..9f6e3f7b 100644 --- a/src/utils/highlight.ts +++ b/src/utils/highlight.ts @@ -8,6 +8,7 @@ import 'prismjs/components/prism-csharp.js'; import 'prismjs/components/prism-go.js'; import 'prismjs/components/prism-http.js'; import 'prismjs/components/prism-java.js'; +import 'prismjs/components/prism-json'; import 'prismjs/components/prism-lua.js'; import 'prismjs/components/prism-markup-templating.js'; // dep of php import 'prismjs/components/prism-markup.js'; // xml