# highlight - syntax highlighting in hgweb, based on Pygments # # Copyright 2008, 2009 Patrick Mezard and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2, incorporated herein by reference. # # The original module was split in an interface and an implementation # file to defer pygments loading and speedup extension setup. """syntax highlighting in hgweb, based on Pygments It depends on the pygments syntax highlighting library: http://pygments.org/ To enable the extension add this to hgrc: [extensions] hgext.highlight = There is a single configuration option: [web] pygments_style =