From 0355a4c8e8dd384f354846c1fbd8e987ef604445 Mon Sep 17 00:00:00 2001 From: Alexander Jung Date: Thu, 1 Feb 2024 19:40:58 +0100 Subject: [PATCH] fix(codeblock): Add missing language snippet highlight colouring Signed-off-by: Alexander Jung --- src/components/mdx-components/codeblock/highlight.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/mdx-components/codeblock/highlight.tsx b/src/components/mdx-components/codeblock/highlight.tsx index 81987576..e2106195 100644 --- a/src/components/mdx-components/codeblock/highlight.tsx +++ b/src/components/mdx-components/codeblock/highlight.tsx @@ -19,6 +19,10 @@ import 'prismjs/components/prism-clike' import 'prismjs/components/prism-docker' import 'prismjs/components/prism-yaml' import 'prismjs/components/prism-diff' +import 'prismjs/components/prism-rust' +import 'prismjs/components/prism-python' +import 'prismjs/components/prism-toml' +import 'prismjs/components/prism-json' const RE = /{([\d,-]+)}/