mirror of
https://github.com/usememos/memos.git
synced 2025-11-17 14:41:04 +08:00
chore: fix inline latext renderer
This commit is contained in:
parent
bcd8a5a7a9
commit
b1128fc786
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue