Text needs quotes in math mode, only single letters are rendered as text.
Markup is indicated by [].
Math by $$
Code by #
Accidentally entering markup mode hasn't happened to me so far.