added markdown discovery