reformat R_memo with markdown