As of https://github.com/jekyll/jekyll/pull/3323 jekyll has a dependency on rouge. Hence, rouge is always used even if pygments is optionally installed.
This patch reverse the loopup of the renderers (previously, first check for rouge, then pygments; now: first check fir pygments, then rouge) so pygments can be used if desired.
As of https://github.com/jekyll/jekyll/pull/3323 jekyll has a dependency on rouge. Hence, rouge is always used even if pygments is optionally installed. This patch reverse the loopup of the renderers (previously, first check for rouge, then pygments; now: first check fir pygments, then rouge) so pygments can be used if desired.