Make refactoring of MarkdownProcessor.cs