Text this: Significant temperature tunability of the band gap in two-dimensional materials