Thanks for your input.

As stated by Ivan I was looking for a solution to use in a public blog
like wordpress.com.

I chose Chris Yuen solution with a minor revision because I use
Posterous. Posterous does not use the embed script but it accepts
Gists links.
See: http://blog.posterous.com/posterous-now-supports-traileraddict-embeds-a

On the other hand, Wordpress.com doesn't accept gists, see:
http://en.forums.wordpress.com/topic/support-gists?replies=2

On Tue, Aug 9, 2011 at 12:52 PM, Chris Yuen <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> wrote:
>>>
>>> On Aug 8, 2011, at 10:26 PM, Ivan Lazar Miljenovic wrote:
>>>
>>> On 9 August 2011 12:04, Arlen Cuss <[email protected]> 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
>>> [email protected]
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>>
>>
>>
>>
>> --
>> http://adoseoflogic.blogspot.com/
>>
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to