When you paste in a Latex Formula, for Example: $${x, y)^{} x{x, y}^{}$$ it should automatically recognize it as latex.
Also I think it would be nicer if you could just write latex formulas without the orange field appearing and instead that you just type $$ to start and end a formula and once you are done editing the specific rem it renders the formula. But that you sill see a preview when typing underneath the rem.