setup markdown detection