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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: parse inline latex as a inline element (#2525)
zty2d34615eac75
diff --git a/web/src/labs/marked/parser/InlineLatex.tsx b/web/src/labs/marked/parser/InlineLatex.tsxindex be9be949d..924f9a5e7 100644--- a/web/src/labs/marked/parser/InlineLatex.tsx+++ b/web/src/labs/marked/parser/InlineLatex.tsx@@ -12,11 +12,9 @@ const inlineRenderer = (rawStr: string) => {} else if (matchResult[2]) {latexCode = matchResult[2];}- return (- <div className="w-full max-w-full overflow-x-auto">+ return <div className="max-w-full overflow-x-auto"><TeX key={latexCode}>{latexCode}</TeX></div>- );}return rawStr;};