In Markdown posts, use `\$ content \$` for inlinemath.
Also in Markdown posts, use:```latexcontent ...```for displaymath. You have to include the normal displaymath delimiters here -- the latex mode is just an "escape" environment that gives you verbatim content.
In plaintext posts, all regular LaTeX syntax should work fine.