add markdown support in simple editor.