moved md->html rendering to the client