Add Markdown mode and sort packages.