Make refactoring in MarkdownProcessor.cs