fix markdown format show and some jquery functions