modify a markdown file