Here's a CDN based system that can be used to embed math into web pages.

http://docs.mathjax.org/en/latest/start.html

And here's a description of LaTeX.

https://en.wikibooks.org/wiki/LaTeX/Mathematics

I imagine that a BB Code would replace the LaTeX delimiter with [math][/math] or [latex][/latex] type codes.

Anyway, just putting it out there that there seems to be a lack of an add-on/BB Code of this type. Maybe someone looking to practice some coding might be interested in a project like this?