[web-devel] Haskell code highlighting
michael at snoyman.com
Fri Jul 8 13:47:52 CEST 2011
Thanks for the pointer to illuminate, it did exactly what I wanted.
On Fri, Jul 1, 2011 at 3:25 PM, Sebastiaan Visser <haskell at fvisser.nl> wrote:
> John MacFarlane has written something nice called illuminate. But it seems it's not on Hacakge.
>  https://github.com/jgm/illuminate
> On Jul 1, 2011, at 9:51 AM, Jasper Van der Jeugt wrote:
>> 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 , 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.
>> : 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?
>>> web-devel mailing list
>>> web-devel at haskell.org
>> web-devel mailing list
>> web-devel at haskell.org
More information about the web-devel