How do I use a shell command as a filter?
Benoît Allard
benoit at aeteurope.nl
Tue Jul 22 08:04:48 CDT 2008
Dave Hinton wrote:
> I am using hgwebdir.cgi to make my repositories visible on the web.
> Some of my files are in markdown format, so I would like to be able to
> view them as filtered by markdown into html. (At some point I might
> like to set up syntax colouring on my source files too, but not yet.)
Have a look at the highlight extension [1] to colorize your source
files. It shouldn't be too difficult to do such an extension to format
your files.
> I'm using mercurial version 0.9.1, as comes with Debian stable (etch).
I would update to a backport version [2] of mercurial at least, 0.9.1
has dozen of known issues ...
Regards,
Benoit
[1] http://www.selenic.com/mercurial/wiki/index.cgi/HighlightExtension
[2]
http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages#head-aa2110ba4ae4d940113876eaf16ce163cd197c90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080722/c776b403/attachment.bin
More information about the Mercurial
mailing list