refine md editor