I have checked the Mathematics Stack Exchange site, and have noticed equation syntax on the questions. Is there a guide or link of how to write these formulas?
Probably, these links might help you.
In the above links, the equations are embedded within
By the way, Math.SE uses MathJax, which uses LaTeX to formulate equations.
Screenshot from Math.SE to show some sample equations: