refine markdown