File tree 1 file changed +8
-12
lines changed
gui/src/components/markdown
1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -117,18 +117,14 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview(
117
117
rehypePlugins : [
118
118
rehypeKatex as any ,
119
119
{ } ,
120
- [
121
- rehypeHighlight as any ,
122
- {
123
- // Note: An empty obj is the default behavior, but leaving this here for scaffolding to
124
- // add unsupported languages in the future. We will need to install the `lowlight` package
125
- // to use the `common` language set in addition to unsupported languages.
126
- // https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
127
- // languages: {},
128
- } as Options ,
129
-
130
- ,
131
- ] ,
120
+ rehypeHighlight as any ,
121
+ {
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
126
+ // languages: {},
127
+ } as Options ,
132
128
] ,
133
129
rehypeReactOptions : {
134
130
components : {
You can’t perform that action at this time.
0 commit comments