Simple LaTeX equations are handled correctly ``` $$ a = b $$ ``` But aligned environment is not: ``` $$ \begin{aligned} a & = b \\ c & = d \\ \end{aligned} $$ ``` 