I'm using overleaf to write my paper.
There is an equation
$$\frac{L_{t_2}}{h_{t_1}}=\frac{L_{t_2}}{o_{t_2}}\frac{o_{t_2}}{h_{t_1}}$$
It shows normally.
But when I tried to write it as a multiple line equation following overleaf's guide
\begin{equation}
\begin{split}
\frac{L_{t_2}}{h_{t_1}}&=\frac{L_{t_2}}{o_{t_2}}\frac{o_{t_2}}{h_{t_1}}\
&= ...
\end{split}
\end{equation}
I got an error. It shows missing $ inserted, misplaced alignment tab character & and other errors. What have I done wrong?

$$in LaTeX either. – David Carlisle Aug 01 '22 at 18:17$$? If so, how should I write a line equation? – user900476 Aug 01 '22 at 18:19