trigger markdown rerender on symbols change
This commit is contained in:
parent
b0dc38cd6c
commit
9cb72ef4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview(
|
|||
// some patches to source markdown are applied here:
|
||||
fixDoubleDollarNewLineLatex(patchNestedMarkdown(props.source ?? "")),
|
||||
);
|
||||
}, [props.source]);
|
||||
}, [props.source, allSymbols]);
|
||||
|
||||
return (
|
||||
<StyledMarkdown fontSize={getFontSize()}>{reactContent}</StyledMarkdown>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue