Effects of electron-phonon coupling on absorption spectrum: <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>K</mml:mi></mml:math> edge of hexagonal boron nitride