[web-devel] Haskell code highlighting

Michael Snoyman michael at snoyman.com
Fri Jul 8 13:47:52 CEST 2011


Hi Sebatiann,

Thanks for the pointer to illuminate, it did exactly what I wanted.

Michael

On Fri, Jul 1, 2011 at 3:25 PM, Sebastiaan Visser <haskell at fvisser.nl> wrote:
> John MacFarlane has written something nice called illuminate[1]. But it seems it's not on Hacakge.
>
> Gr,
> Sebastiaan
>
> [1] https://github.com/jgm/illuminate
>
> On Jul 1, 2011, at 9:51 AM, Jasper Van der Jeugt wrote:
>> Hello,
>>
>> 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
>>
>> Cheers,
>> Jasper
>>
>> 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
>>>
>>
>> _______________________________________________
>> 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