[Haskell-cafe] Haskell syntax highlighting in a public blog

Chris Yuen kizzx2+haskell at gmail.com
Tue Aug 9 18:52:43 CEST 2011


You can probably just post your code as Gists in GitHub. They provide an
"embed" button to give you a <script> tag pair. See an example of it in
action in my blog
http://cfc.kizzx2.com/index.php/in-search-of-performance-in-haskell/

Chris

On Tue, Aug 9, 2011 at 6:07 PM, Bas van Gijzel <nenekotan at gmail.com> wrote:

> Another alternative is to use the HsColour package:
> http://code.haskell.org/~malcolm/hscolour/ and choose html as output.
> (This works for me on blogspot.com)
>
> On 9 August 2011 05:16, Daniel Patterson <lists.haskell at dbp.mm.st> wrote:
>
>>
>> On Aug 8, 2011, at 10:26 PM, Ivan Lazar Miljenovic wrote:
>>
>> On 9 August 2011 12:04, Arlen Cuss <celtic at sairyx.org> wrote:
>>
>> 9/08/2011 11:54 AM, Oscar Picasso kirjutas:
>>
>> Hi,
>>
>>
>> Is there a public blog that that allow syntax highlighting of Haskell
>> code?
>>
>>
>> Are you talking about a plugin for a blog engine? CodeColourer on
>>
>> WordPress will do it.
>>
>>
>> I think he meant more along the lines of wordpress.com, which as far
>> as I know _doesn't_ support highlighting Haskell.
>>
>>
>> I haven't done this personally, but here is a javascript based solution
>> that should work with any blog that allows you to include custom stylesheets
>> / javascript:
>> http://nix-tips.blogspot.com/2010/09/javascript-highlighter-for-haskell-code.html
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>>
>
>
> --
> http://adoseoflogic.blogspot.com/
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110810/5e1a2936/attachment.htm>


More information about the Haskell-Cafe mailing list