handle deprecation warning regarding pygments