MathJax math written in LaTex code. Any solutions in the math are enclosed in emphasis tags. This allows the toggle button in the top right to hide and show the answers. At the moment, the css is set to not print the answers.
This awesome code is written by Dean, you can see more from this user in the personal repository