[PATCH] highlight: Generate pygments style sheet dynamically

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Apr 5 02:32:19 CDT 2008


Isaac Jurado wrote:
> # HG changeset patch
> # User Isaac Jurado <diptongo at gmail.com>
> # Date 1207359609 -7200
> # Node ID 10496965d72ff26f49bf7e8ac0af4d49ee85fa30
> # Parent  9c426da6b03b2f201e23107af5138d6b4a387428
> highlight: Generate pygments style sheet dynamically
> 
> This patch allows a per-repository (for example, within a hgwebdir) selection
> of pygments_style web option.  No static .css files required.

One more thing: could you add some tests for this to tests/test-highlight?

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list