# HG changeset patch # User Patrick Mezard # Date 2008-08-25 21:04:56 # Node ID ce94b3236ea4541aa4b96512a1155d4694a36e62 # Parent 3aa8ad0e03ba54ad926c10bb84a85baf68647368 highlight: split code to improve startup times diff --git a/hgext/highlight/__init__.py b/hgext/highlight/__init__.py new file mode 100644 --- /dev/null +++ b/hgext/highlight/__init__.py @@ -0,0 +1,50 @@ +"""a mercurial extension for syntax highlighting in hgweb + +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 =