The format used is LaTeX:
```
.. math::

   Y_n^m = \sqrt{....} etc etc
```
Needs also changing `"""` to `r"""` on line 23 so that `\` doesn't act as a quoting character.