formatting of readmemd