Can not paser inline math correctly

Steps to reproduce

Type below: →

Can not parse the following line formula:

$ ax^2+bx+c=0 \left( 0 \right) $,$\Delta=b^2-4ac $
 x &= \frac{-b}{2a} + i \frac{\sqrt {4ac - b^2}}{2a} \\
 x &= \frac{-b}{2a} - i \frac{\sqrt {4ac - b^2}}{2a} \\
 i^2 &= -1

Expected result

Actual result



  • Operating system: Windows 10 Pro, Arch Linux

no spaces after/before $

work with the first line formula if I edit to this:test$ax^2+bx+c=0 \left( 0 \right)$,$\Delta=b^2-4ac$test

But why I can’t put spaces before first $ and after last $? Also, where is the $ in the live edit model?

And still, the next multi-line formula is not rendered.