fix markdown detection on Linux