Made improvements to Markdown editting