When writing a MathJax heavy post I noticed a couple of bugs. For reference, here is an example of how the MathJax should look:
$$ a_{i+1} = \begin{cases} \frac{a_i}{2} & \text{if $a_i \% 2 = 0$ (even)} \\ 3a_i + 1 & \text{if $a_i \% 2 = 1$ (odd)} \end{cases} $$
Begin and end work outside of math mode
Code
a_{i+1} = \begin{cases}
\frac{a_i}{2} & \text{if $a_i \% 2 = 0$ (even)} \\
3a_i + 1 & \text{if $a_i \% 2 = 1$ (odd)}
\end{cases}
Live
a_{i+1} = \begin{cases} \frac{a_i}{2} & \text{if $a_i \% 2 = 0$ (even)} \\ 3a_i + 1 & \text{if $a_i \% 2 = 1$ (odd)} \end{cases}
Preview
An unclosed math-mode delimiter swallows some backslashes
Related: The MathJax newline \\ is broken in tag wikis
Code
$$
a_{i+1} = \begin{cases}
\frac{a_i}{2} & \text{if $a_i \% 2 = 0$ (even)} \\
3a_i + 1 & \text{if $a_i \% 2 = 1$ (odd)}
\end{cases}
Live
$$ a_{i+1} = \begin{cases} \frac{a_i}{2} & \text{if $a_i % 2 = 0$ (even)} \ 3a_i + 1 & \text{if $a_i % 2 = 1$ (odd)} \end{cases}
Preview
$$
to your post shouldn't mangle the backslashes in your question. If SE disagrees, I'd want the output to at least be correct (first example) and not be striping backslashes. Since the related bug has regressed to the point where MathJax seems to not work at all in the tag wiki. I really only care the bugs are fixed, not how. \$\endgroup\$$$
when I paste this code but, with them, it works as expected - is it the fact that the MJ is rendering at all without the$$
that is part of the issue? I think @Edward makes some good points - Having a "what you think should happen instead" might make this easier to understand for me - This also occurs on some other MJ-enabled sites, such as Mathematics, so It'd be good to know what the common concern is and how it should be addressed. :) \$\endgroup\$