added markdown parsing