Implement Markdown class

Also, fixed docstring tests.