update content and format of markdown post