[web-devel] Haskell code highlighting

Jasper Van der Jeugt m at jaspervdj.be
Fri Jul 1 09:51:04 CEST 2011


highlighting-kate is what Pandoc (and hence Hakyll) uses by default.
I've been very happy with it. My CSS file can be found here [1], it is
the pandoc default which does a good job on light backgrounds.

OTOH, highlighting-kate might have more dependencies than you like,
and if you only want to highlight Haskell code, you could pick
something more minimal.

[1]: http://github.com/jaspervdj/jaspervdj/blob/master/css/syntax.css


On Fri, Jul 1, 2011 at 9:14 AM, Michael Snoyman <michael at snoyman.com> wrote:
> Hi all,
> I want to add (back) Haskell code highlighting to the Yesod site, and
> decided to take a poll for what package people recommend. A quick
> browsing of Hackage reveals the following possibilities:
> * http://hackage.haskell.org/package/colorize-haskell
> * http://hackage.haskell.org/package/highlighter
> * http://hackage.haskell.org/package/highlighting-kate
> * http://hackage.haskell.org/package/hscolour
> What do people recommend? And what are people's preferred CSS file for this?
> Thanks,
> Michael
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel

More information about the web-devel mailing list