Make mathjax expression render if a previous expression has an error

Make rendering of formulas not broken
$\alpha$
$\ce{\beta$
Some Text
$\gamma$

In the above case, any $\LaTeX$ expression after the beta line just becomes plain text.
I would like to

  • have them render despite the mistake
  • and have a big red error on the beta line.