added markdown mode