Update StyledMarkdownPreview.tsx

This commit is contained in:
Patrick Erichsen 2024-08-19 14:34:22 -07:00
parent ff8fab7a40
commit c5c78279c3

View file

@ -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,
],