Add interface for Markdown class

This is a small change that adds a MarkdownInterface to codify the public API and aid with decoupling and dependency injection for consuming projects.