added markdown generation