From aa845b084ed7edae03ba142eaccf878931ad6529 Mon Sep 17 00:00:00 2001 From: supergrecko Date: Mon, 7 Oct 2019 15:37:19 +0200 Subject: [PATCH] feature(resources): Add syntax highlighting for languages used in articles --- src/components/Markdown/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Markdown/index.tsx b/src/components/Markdown/index.tsx index d21c0a1..93881ff 100644 --- a/src/components/Markdown/index.tsx +++ b/src/components/Markdown/index.tsx @@ -1,4 +1,8 @@ import Prism from "prismjs" +import "prismjs/components/prism-c" +import "prismjs/components/prism-cpp" +import "prismjs/components/prism-java" +import "prismjs/components/prism-kotlin" import "prismjs/components/prism-markup-templating" import "prismjs/components/prism-php" import "prismjs/components/prism-python"