refine to markdown