Skip to content

Commit bd17663

Browse files
committed
Fix syntax highlight
it was disabled by mistake
1 parent 7488f15 commit bd17663

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/common/MarkdownRender.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,10 @@ const MarkdownRender: React.FC<MarkdownRenderProps> = ({
214214
{element}
215215
</MarkdownRenderBlock>
216216
) : (
217-
<MarkdownRenderBlock dangerouslySetInnerHTML={{ __html: html }} />
217+
<MarkdownRenderBlock
218+
className={codeTheme}
219+
dangerouslySetInnerHTML={{ __html: html }}
220+
/>
218221
)}
219222
</Typography>
220223
);

0 commit comments

Comments
 (0)