Detecting biomarkers in habitable-zone earths transiting white dwarfs