Improved formatting of markdown files