Differences between revisions 1 and 2
Revision 1 as of 2008-04-19 11:52:30
Size: 501
Comment: Add some information on the highlight extension.
Revision 2 as of 2008-07-24 08:41:09
Size: 506
Editor: BenoitAllard
Comment: this extension is now in the hgext directory
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
highlight = hgext.highlight=

Highlight Extension

This extension is currently being distributed along with Mercurial.

Original author: Adam Hupp

Overview

This extension does syntax highlighting in hgweb for files with known extensions.

The extension depends on having [http://pygments.org/ Pygments] installed.

Configuration

Configure your .hgrc to change the Pygments style:

[extensions]
hgext.highlight=

[web]
pygments_style = <style>


CategoryExtension

HighlightExtension (last edited 2017-01-02 10:35:57 by AntonShestakov)