Refactor of MarkdownSharp