inkdropapp / inkdrop-math

Add math syntax support to markdown editor and preview
https://www.inkdrop.app/
MIT License
26 stars 7 forks source link

How to input math fomula with multiple lines? #4

Closed gogdizzy closed 4 years ago

gogdizzy commented 5 years ago

$$ s=(p,v,a) \ u=j $$

will got error: KaTeX parse error: Expected 'EOF', got '\' at position 10: s=(p,v,a)\̲\̲ u=j

Thank you

craftzdog commented 4 years ago

Hi @gogdizzy,

Use \begin{aligned}:

\begin{aligned}
\text{A + B = C} \\
\text{C - B = A}
\end{aligned}