parse the markdown but not fully working yet