change markdown render to marked, remove depacated node api usage