From c5c78279c32bf5a67651b7d2aefffb8afa34f611 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 19 Aug 2024 14:34:22 -0700 Subject: [PATCH] Update StyledMarkdownPreview.tsx --- gui/src/components/markdown/StyledMarkdownPreview.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/src/components/markdown/StyledMarkdownPreview.tsx b/gui/src/components/markdown/StyledMarkdownPreview.tsx index 3959b70e3..311d8c84a 100644 --- a/gui/src/components/markdown/StyledMarkdownPreview.tsx +++ b/gui/src/components/markdown/StyledMarkdownPreview.tsx @@ -118,11 +118,11 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview( rehypeKatex as any, {}, rehypeHighlight as any, + // Note: An empty obj is the default behavior, but leaving this here for scaffolding to + // add unsupported languages in the future. We will need to install the `lowlight` package + // to use the `common` language set in addition to unsupported languages. + // https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md { - // Note: An empty obj is the default behavior, but leaving this here for scaffolding to - // add unsupported languages in the future. We will need to install the `lowlight` package - // to use the `common` language set in addition to unsupported languages. - // https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md // languages: {}, } as Options, ],