add markdown support
modify layout and input box