Implement Markdown class methods, and test routine