mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 12:29:58 +02:00
Render LaTeX matrices correctly in math-only mode.
This commit is contained in:
@@ -343,7 +343,7 @@ const joinMath = (
|
||||
};
|
||||
|
||||
const getMathNewline = (mathProps: MathProps) => {
|
||||
return mathProps.useTex && mathProps.mathOnly ? "\\\\" : "\n";
|
||||
return mathProps.useTex && mathProps.mathOnly ? "\\newline" : "\n";
|
||||
};
|
||||
|
||||
// This lets math input run across multiple newlines.
|
||||
|
Reference in New Issue
Block a user