I couldn't find this in the MathJax tutorial or through Google. Apologies if I missed it somewhere obvious.
Say I have two points $P_1$ and $P_2$ and I want to express the line defined by them. If I was writing, e.g. a geometry proof, I would write it like this:
How do I write this in MathJax?