filtering output of source files in web interface

Christian Boos cboos at neuf.fr
Wed May 9 14:02:17 UTC 2007


Michael Wohlwend wrote:
> Hi,
>
> I would like to have my sourcefiles filtered through a program when clicked on in the manifest view of my repository,
> to get syntax highlighting.
> Can someone give me a hint how to do this?  So in more detail: when clicking on a *.ml/*.mli file on the manifest page,
> how can I filter those source through a external program?
>   

You might want to check an alternative solution: using Trac 0.11,  the 
mercurial plugin [1] and the recommended source code syntax highlighter 
(Pygments [2]), you'll get to browse your mercurial repository with your 
Caml source code highlighted.

-- Christian

[1] http://trac.edgewall.org/wiki/TracMercurial
[2] http://pygments.org



More information about the Mercurial mailing list