Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix linter

Steven089cd3de8771
diff --git a/web/src/labs/marked/parser/InlineLatex.tsx b/web/src/labs/marked/parser/InlineLatex.tsx
index 924f9a5e7..f5a754008 100644
--- a/web/src/labs/marked/parser/InlineLatex.tsx
+++ b/web/src/labs/marked/parser/InlineLatex.tsx
@@ -12,9 +12,11 @@ const inlineRenderer = (rawStr: string) => {
} else if (matchResult[2]) {
latexCode = matchResult[2];
}
- return <div className="max-w-full overflow-x-auto">
+ return (
+ <div className="max-w-full overflow-x-auto">
<TeX key={latexCode}>{latexCode}</TeX>
</div>
+ );
}
return rawStr;
};