Refactor MarkdownEditor

move increase/decrease heading level code from MarkdownEditor to MarkdownManipulator