1*2*3multilinemath 1*2*3 multi-line math

$ 1*2*3 inline-math

1*2*3mathwithdollar 1*2*3 math with dollar

1*2*3$dollar with escapes 1*2*3 \$ \\ \text{dollar with escapes}

$ \\ \text{backslash with escapes} \$ 1*2*3

( not really math )

$$ also not math $$

this *should*be*should* be math

this$ *should* also be math

and this*should*this *should* too

Something \{ like math but \} is not

Also \(like math but \) is not

\$ should be *math* as well \\$

This is $ math, and the \\\( inner one \\\) should be preserved

didyouUnknown characteremUnknown characterknowUnknown character/emUnknown characterthisismath? did you <em> know </em> this is math?