chore: fix inline latext renderer

pull/2543/head
Steven 1 year ago
parent bcd8a5a7a9
commit b1128fc786

@ -13,9 +13,9 @@ const inlineRenderer = (rawStr: string) => {
latexCode = matchResult[2];
}
return (
<div className="max-w-full overflow-x-auto">
<span className="max-w-full overflow-x-auto">
<TeX key={latexCode}>{latexCode}</TeX>
</div>
</span>
);
}
return rawStr;

Loading…
Cancel
Save