modify markdown and add image