Skip to content

Commit c5c7827

Browse files
Update StyledMarkdownPreview.tsx
1 parent ff8fab7 commit c5c7827

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gui/src/components/markdown/StyledMarkdownPreview.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview(
118118
rehypeKatex as any,
119119
{},
120120
rehypeHighlight as any,
121+
// Note: An empty obj is the default behavior, but leaving this here for scaffolding to
122+
// add unsupported languages in the future. We will need to install the `lowlight` package
123+
// to use the `common` language set in addition to unsupported languages.
124+
// https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
121125
{
122-
// Note: An empty obj is the default behavior, but leaving this here for scaffolding to
123-
// add unsupported languages in the future. We will need to install the `lowlight` package
124-
// to use the `common` language set in addition to unsupported languages.
125-
// https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
126126
// languages: {},
127127
} as Options,
128128
],

0 commit comments

Comments
 (0)