Markdown support improvements