Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Soxasora committed Feb 16, 2025
1 parent 298f247 commit 3813163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default memo(function Text ({ rel = UNKNOWN_LINK_REL, imgproxyUrls, child
<ReactMarkdown
components={components}
remarkPlugins={remarkPlugins}
rehypePlugins={[rehypeSNStyled, ...(mathJaxPlugin ? [mathJaxPlugin] : [])]}
rehypePlugins={[rehypeSNStyled, mathJaxPlugin].filter(Boolean)}
remarkRehypeOptions={{ clobberPrefix: `itemfn-${itemId}-` }}
>
{children}
Expand Down

0 comments on commit 3813163

Please sign in to comment.