Add code markup for docstrings and fix erroneous whitespace in docstring