write the markdown